コード例 #1
0
 @Test(expected = IllegalArgumentException.class)
 public void test_ThrowsExceptionIfNullInput() {
   CaseStatementRunner.callCaseStatement(null);
 }
コード例 #2
0
 @Test
 public void test_DoesNotThrowsExceptionIfValidInput() {
   CaseStatementRunner.callCaseStatement(1);
   CaseStatementRunner.callCaseStatement(2);
 }