### Question:
CloseElementNode extends BxmlNodeWithToken { @Override public void accept(BxmlNodeVisitor bxmlNodeVisitor) throws IOException { bxmlNodeVisitor.visit(this); } CloseElementNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent); @Override void accept(BxmlNodeVisitor bxmlNodeVisitor);  }### Answer:
@Test public void testVisitor() throws IOException { BxmlNodeVisitor mock = mock(BxmlNodeVisitor.class); closeElementNode.accept(mock); verify(mock).visit(closeElementNode); verifyNoMoreInteractions(mock); }