@Test public void checkIfConditionReturnsValidCode() { assertThat(com.ifAction(condition, action), is(equalTo("if(" + condition + "){" + action + "}"))); }
public String ifAction(String condition, String action) { return "if(" + condition + "){" + action + "}"; }
StandardCommandsGenerator { public String ifAction(String condition, String action) { return "if(" + condition + "){" + action + "}"; } }
StandardCommandsGenerator { public String ifAction(String condition, String action) { return "if(" + condition + "){" + action + "}"; }  }
StandardCommandsGenerator { public String ifAction(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); }
StandardCommandsGenerator { public String ifAction(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);  }