Search in sources :

Example 1 with BXmlTypeNode

use of org.apache.nifi.processors.evtx.parser.bxml.value.BXmlTypeNode in project nifi by apache.

the class XmlBxmlNodeVisitorTest method testVisitBxmlTypeNode.

@Test
public void testVisitBxmlTypeNode() throws IOException {
    BXmlTypeNode bXmlTypeNode = mock(BXmlTypeNode.class);
    RootNode rootNode = mock(RootNode.class);
    when(bXmlTypeNode.getRootNode()).thenReturn(rootNode);
    xmlBxmlNodeVisitor.visit(bXmlTypeNode);
    verify(rootNode).accept(xmlBxmlNodeVisitor);
}
Also used : RootNode(org.apache.nifi.processors.evtx.parser.bxml.RootNode) BXmlTypeNode(org.apache.nifi.processors.evtx.parser.bxml.value.BXmlTypeNode) Test(org.junit.Test)

Aggregations

RootNode (org.apache.nifi.processors.evtx.parser.bxml.RootNode)1 BXmlTypeNode (org.apache.nifi.processors.evtx.parser.bxml.value.BXmlTypeNode)1 Test (org.junit.Test)1