@Test
public void hasCaseSensitiveTextTest() {

    Path el = element.that(hasCaseSensitiveText("abc"));
    String xpath = el.getXPath().get();
    NodeList nodes = findAllByXpath("<div>abcd</div><div>ABC</div><span>abc</span>", el);
    assertThat(nodes.getLength(), is(1));
    assertThat(getText(nodes.item(0)), equalTo("abc"));
    assertThat(getElementName(nodes.item(0)), equalTo("span"));
    assertThat(el.toString(), is(equalTo("any element, that has the text \"abc\"")));
}