@Test
public void createNodeListUsingXPathExpressionTest() throws XPathExpressionException, UnsupportedEncodingException {

    NodeList result = XMLUtils.createNodeListUsingXPathExpression("/parentNode/childNode", testXml);
    assertThat(result.getLength(), equalTo(5));
    assertThat(result.item(0).getTextContent(), equalTo("1"));
    assertThat(result.item(1).getTextContent(), equalTo("2"));
    assertThat(result.item(2).getTextContent(), equalTo("3"));
}