@Test public void checkWebElementSendKeysReturnsCorrectCode() { assertThat(driver.findElement(locator).sendKeys("These keys are being sent!"), is(equalTo("driver.findElement(" + locator + ").sendKeys(\"These keys are being sent!\")"))); }
public String sendKeys(String value) { return callingCommand + "(" + passedValue + ").sendKeys(\"" + value + "\")"; }
WebElementGenerator { public String sendKeys(String value) { return callingCommand + "(" + passedValue + ").sendKeys(\"" + value + "\")"; } }
WebElementGenerator { public String sendKeys(String value) { return callingCommand + "(" + passedValue + ").sendKeys(\"" + value + "\")"; } WebElementGenerator(String command, String value);  WebElementGenerator(String command); }
WebElementGenerator { public String sendKeys(String value) { return callingCommand + "(" + passedValue + ").sendKeys(\"" + value + "\")"; } WebElementGenerator(String command, String value);  WebElementGenerator(String command); String getAttribute(String value); String isSelected(); String isEnabled(); String getText(); String isDisplayed(); GetLocation getLocation(); GetSize getSize(); String click(); String getCssValue(String value); String sendKeys(String value); String submit(); String toString(); }
WebElementGenerator { public String sendKeys(String value) { return callingCommand + "(" + passedValue + ").sendKeys(\"" + value + "\")"; } WebElementGenerator(String command, String value);  WebElementGenerator(String command); String getAttribute(String value); String isSelected(); String isEnabled(); String getText(); String isDisplayed(); GetLocation getLocation(); GetSize getSize(); String click(); String getCssValue(String value); String sendKeys(String value); String submit(); String toString();  }