@Test
public void isCheckededTest() {

    Path el = BasicPath.button.inside(BasicPath.div).that(ElementProperties.not(isChecked));
    String xpath = el.getXPath().get();
    assertThat(xpath, equalTo("div//button[not(@checked)]"));
    assertThat(el.toString(), is(equalTo("button, inside div, and is not checked")));
}