結果 : how to unit test a void method java