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

    Node result = XMLUtils.createNodeUsingXPathExpression("/parentNode/childNode[1]", testXml);
    assertThat(result.getTextContent(), equalTo("1"));
    result = XMLUtils.createNodeUsingXPathExpression("/parentNode/childNode[2]", testXml);
    assertThat(result.getTextContent(), equalTo("2"));
}