@Test
public void checkWebElementGetLocationGetYReturnsCorrectCode() {

    assertThat(driver.findElement(locator).getLocation().getY(), is(equalTo("driver.findElement(" + locator + ").getLocation().getY()")));
}