This System.out should probably be in the caller, not here. Btw, isnt's logging preferred to System.out, even in tests?