@Test
public void checkWebElementGetSizeGetHeightReturnsCorrectCode() {

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