@Test public void checkWebElementListReturnsCorrectCode() { assertThat(driver.findElements(locator).toString(), is(equalTo("driver.findElements(" + locator + ")"))); }
public String toString() { return callingCommand + "(" + passedValue + ")"; }
WebElementListGenerator { public String toString() { return callingCommand + "(" + passedValue + ")"; } }
WebElementListGenerator { public String toString() { return callingCommand + "(" + passedValue + ")"; } WebElementListGenerator(String command, String value);  WebElementListGenerator(String command); }
WebElementListGenerator { public String toString() { return callingCommand + "(" + passedValue + ")"; } WebElementListGenerator(String command, String value);  WebElementListGenerator(String command); String size(); String toString(); }
WebElementListGenerator { public String toString() { return callingCommand + "(" + passedValue + ")"; } WebElementListGenerator(String command, String value);  WebElementListGenerator(String command); String size(); String toString();  }