/**
  * Test method for {@link
  * net.hyperadapt.pxweave.interpreter.test.OperationInterpreter#interpreteCollapseElement(org.w3c.dom.NodeList,
  * java.util.ArrayList)} .
  *
  * @throws XMLWeaverException
  */
 @Test
 public void testInterpreteCollapseElement() throws XMLWeaverException {
   final NodeList joinPoints = xPathEvaluator.evaluateXPath("//books:book/books:title", document);
   oInterpreter.interpreteCollapseElement(joinPoints, testText3);
   assertTrue(
       "the nodes have a textNode",
       xPathEvaluator.evaluateXPath("//books:book/books:title/text()", document).getLength() == 3);
   assertTrue(
       "the nodes have no other child left",
       xPathEvaluator.evaluateXPath("//books:book/books:title/*[2]", document).getLength() == 0);
 }