### Question:
CompoundAccessVisitor implements AccessVisitor { @Override public void apply(AccessPoint accessPoint, AccessPoint accessPoint1, AccessType accessType) { for (AccessVisitor av : accessVisitors) { av.apply(accessPoint, accessPoint1, accessType); } } CompoundAccessVisitor(AccessVisitor... accessVisitors);  CompoundAccessVisitor(List<AccessVisitor> accessVisitors); @Override void apply(AccessPoint accessPoint, AccessPoint accessPoint1, AccessType accessType); @Override void newNode(ElementName elementName); @Override void newAccessPoint(AccessPoint accessPoint); @Override void newEntryPoint(ElementName elementName);  }### Answer:
@Test void applyShouldCallComposeApplyInOrder() { testee.apply(ap, ap, at); inOrder.verify(av1).apply(ap, ap, at); inOrder.verify(av2).apply(ap, ap, at); }