@Test
public void hasCaseSensitiveTextContainingTest() {

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