結果 : how to write unit test case for exception in java