@Test public void testVisit() throws IOException { BxmlNodeVisitor mock = mock(BxmlNodeVisitor.class); attributeNode.accept(mock); verify(mock).visit(attributeNode); verifyNoMoreInteractions(mock); }
@Override public void accept(BxmlNodeVisitor bxmlNodeVisitor) throws IOException { bxmlNodeVisitor.visit(this); }
AttributeNode extends BxmlNodeWithTokenAndString { @Override public void accept(BxmlNodeVisitor bxmlNodeVisitor) throws IOException { bxmlNodeVisitor.visit(this); } }
AttributeNode extends BxmlNodeWithTokenAndString { @Override public void accept(BxmlNodeVisitor bxmlNodeVisitor) throws IOException { bxmlNodeVisitor.visit(this); } AttributeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent); }
AttributeNode extends BxmlNodeWithTokenAndString { @Override public void accept(BxmlNodeVisitor bxmlNodeVisitor) throws IOException { bxmlNodeVisitor.visit(this); } AttributeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent); @Override void accept(BxmlNodeVisitor bxmlNodeVisitor); String getAttributeName(); BxmlNode getValue(); }
AttributeNode extends BxmlNodeWithTokenAndString { @Override public void accept(BxmlNodeVisitor bxmlNodeVisitor) throws IOException { bxmlNodeVisitor.visit(this); } AttributeNode(BinaryReader binaryReader, ChunkHeader chunkHeader, BxmlNode parent); @Override void accept(BxmlNodeVisitor bxmlNodeVisitor); String getAttributeName(); BxmlNode getValue();  }