  @Test
  public void testNestedAxisTest() throws SirixException {

    final XmlNodeReadOnlyTrx rtx = holder.getXmlNodeReadTrx();

    // Find descendants starting from nodeKey 0L (root).
    rtx.moveToDocumentRoot();

    // XPath expression /p:a/b/text()
    // Part: /p:a
    final Axis childA = new FilterAxis<XmlNodeReadOnlyTrx>(new ChildAxis(rtx), new XmlNameFilter(rtx, "p:a"));
    // Part: /b
    final Axis childB = new FilterAxis<XmlNodeReadOnlyTrx>(new ChildAxis(rtx), new XmlNameFilter(rtx, "b"));
    // Part: /text()
    final Axis text = new FilterAxis<XmlNodeReadOnlyTrx>(new ChildAxis(rtx), new TextFilter(rtx));
    // Part: /p:a/b/text()
    final Axis axis = new NestedAxis(new NestedAxis(childA, childB), text);

    AbsAxisTest.testIAxisConventions(axis, new long[] {6L, 12L});
  }