StandardCommandsGenerator { public String ifNotAction(String condition, String action) { return "if(!" + condition + "){" + action + "}"; }  String ifAction(String condition, String action); String ifNotAction(String condition, String action); String assertTrue(String value); String assertFalse(String value); String assertEquals(String value, String matcher); String assertNotEquals(String value, String matcher); String verifyTrue(String value); String verifyFalse(String value); String verifyEquals(String value, String matcher); String verifyNotEquals(String value, String matcher); String tryCatch(String tryValue, String exceptionToCatch, String ifException);  }
@Test public void checkIfNotConditionReturnsValidCode() { assertThat(com.ifNotAction(condition, action), is(equalTo("if(!" + condition + "){" + action + "}"))); }