@Test
public void checkWebElementGetCSSValueReturnsCorrectCode() {

    assertThat(driver.findElement(locator).getCssValue("background-color"), is(equalTo("driver.findElement(" + locator + ").getCssValue(\"background-color\")")));
}