示例#1
0
 @Test(expected = IllegalArgumentException.class)
 public void shouldThrowExceptionWhenGettingNonNullParameter() {
   checkNullMandatory("nullable", "non null");
 }
示例#2
0
 @Test
 public void shouldDoNotThrowExceptionWhenGettingNullParameter() {
   checkNullMandatory("nullable", null);
 }