@Test
public void checkWebElementGetSizeGetWidthReturnsCorrectCode() {

    assertThat(driver.findElement(locator).getSize().getWidth(), is(equalTo("driver.findElement(" + locator + ").getSize().getWidth()")));
}