結果 : how to write test cases for void methods in java using junit