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