Example #1
0
 @Test(expected = IllegalStateException.class)
 public void shouldThrowExceptionWhenGettingInvalidConditionParameter() {
   checkCondition("valid", false);
 }
Example #2
0
 @Test
 public void shouldDoNotThrowExceptionWhenGettingValidConditionParameter() {
   checkCondition("valid", true);
 }