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