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