@Test
public void testGetNodeList() throws Exception {

    NodeList nodeList = xPathHelper.getNodeList("/xml/firstTag/innerTag/valueTag[.='A']", xmlDoc);
    assertEquals(2, nodeList.getLength());
    Node valueTagOne = nodeList.item(0);
    assertEquals("valueTag", valueTagOne.getNodeName());
    assertEquals("A", valueTagOne.getTextContent());
    Node valueTagTwo = nodeList.item(1);
    assertEquals("valueTag", valueTagTwo.getNodeName());
    assertEquals("A", valueTagTwo.getTextContent());
}