MulePluginResolverVisitor implements DependencyNodeVisitor { @Override public void visit(ProjectDependencyNode node) throws ValidationException { for (DependencyNodeVisitor visitor : visitors) { visitor.visit(node); } } MulePluginResolverVisitor(List<DependencyNodeVisitor> visitors);  MulePluginResolverVisitor(); @Override void visit(ProjectDependencyNode node); @Override Set<ArtifactCoordinates> getCollectedDependencies();  }
@Test public void visitTest() throws ValidationException { visitor.visit(nodeSpy); for (DependencyNodeVisitor visitorSpy : visitorSpies) { verify(visitorSpy, times(1)).visit(nodeSpy); } }