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