/**
  * Test method for {@link
  * net.hyperadapt.pxweave.interpreter.test.OperationInterpreter#interpreteExpandElement(org.w3c.dom.NodeList,
  * java.util.ArrayList)} .
  *
  * @throws XMLWeaverException
  */
 @Test
 public void testInterpreteExpandElement() throws XMLWeaverException {
   final NodeList joinPoints = xPathEvaluator.evaluateXPath("//books:book/books:title", document);
   oInterpreter.interpreteExpandElement(joinPoints, testElements3);
   assertTrue(
       "no textNodes are left",
       (xPathEvaluator.evaluateXPath("//books:book/books:title/text()", document).getLength()
           == 0));
   assertTrue(
       "the nodes have a new child",
       (xPathEvaluator.evaluateXPath("//books:book/books:title/*[1]", document).getLength() == 3));
   assertTrue(
       "the node's name must be test2",
       (xPathEvaluator.evaluateXPath("//books:book[3]/books:title/test2", document).getLength()
           == 1));
 }