@Test
public void hasSomeChildrenNoMatchTest() {

    Path el = BasicPath.element.that(hasClass("a.a"), hasChildren);
    String xpath = el.getXPath().get();
    NodeList nodes = findAllByXpath("<div>a</div><div class='container'><div class='a'><div class='a.a'></div></div><span class='b'/></div><div>c</div><div></div><span class='abc'></span>", el);
    assertThat(nodes.getLength(), is(0));
    assertThat(el.toString(), is(equalTo("any element, that [has class a.a, has some children]")));
}