@Test public void insideAndFolowingSibling2() {

    Path a = div.inside(body);
    Path el = span.that(isAfterSibling(a));
    logit(el);
    NodeList nodes = findAllByXpath("<body><span>abc</span><div>abc</div><span>def</span></body>", el);
    assertThat(nodes.getLength(), equalTo(1));
    assertThat(getElementName(nodes.item(0)), equalTo("span"));
    assertThat(getText(nodes.item(0)), equalTo("def"));
}