@Test
public void isSiblingOfMultiTest() {

    Path el = BasicPath.element.that(isSiblingOf(div.withClass("a"), div.withText("a"), span));
    String xpath = el.getXPath().get();
    NodeList nodes = findAllByXpath("<div class='container'><div>a</div><p>123</p><div class='a'><div class='a.a'></div></div><span class='b'/></div><div>c</div><div>d</div><span class='abc'></span>", el);
    assertThat(nodes.getLength(), is(1));
    assertThat(getElementName(nodes.item(0)), equalTo("p"));
    assertThat(getText(nodes.item(0)), equalTo("123"));
    assertThat(el.toString(), is(equalTo("any element, that has siblings: [(div, that has class a), (div, that has the text \"a\"), span]")));
}