@Test public void testInit() { tested.init(); verify(multiHandler, times(1)).addHandler(eq(connectionHandler)); verify(multiHandler, times(1)).addHandler(eq(containmentHandler)); }
@PostConstruct public void init() { multiHandler.addHandler(connectionHandler); multiHandler.addHandler(containmentHandler); }
ConnectorParentsMatchHandler extends RuleExtensionHandler<ConnectorParentsMatchHandler, RuleEvaluationContext> { @PostConstruct public void init() { multiHandler.addHandler(connectionHandler); multiHandler.addHandler(containmentHandler); } }
ConnectorParentsMatchHandler extends RuleExtensionHandler<ConnectorParentsMatchHandler, RuleEvaluationContext> { @PostConstruct public void init() { multiHandler.addHandler(connectionHandler); multiHandler.addHandler(containmentHandler); } protected  ConnectorParentsMatchHandler(); @Inject  ConnectorParentsMatchHandler(final ConnectorParentsMatchConnectionHandler connectionHandler,
                                        final ConnectorParentsMatchContainmentHandler containmentHandler,
                                        final RuleExtensionMultiHandler multiHandler); }
ConnectorParentsMatchHandler extends RuleExtensionHandler<ConnectorParentsMatchHandler, RuleEvaluationContext> { @PostConstruct public void init() { multiHandler.addHandler(connectionHandler); multiHandler.addHandler(containmentHandler); } protected  ConnectorParentsMatchHandler(); @Inject  ConnectorParentsMatchHandler(final ConnectorParentsMatchConnectionHandler connectionHandler,
                                        final ConnectorParentsMatchContainmentHandler containmentHandler,
                                        final RuleExtensionMultiHandler multiHandler); @PostConstruct void init(); @Override Class<ConnectorParentsMatchHandler> getExtensionType(); @Override Class<RuleEvaluationContext> getContextType(); @Override boolean accepts(final RuleExtension rule,
                           final RuleEvaluationContext context); @Override RuleViolations evaluate(final RuleExtension rule,
                                   final RuleEvaluationContext context); }
ConnectorParentsMatchHandler extends RuleExtensionHandler<ConnectorParentsMatchHandler, RuleEvaluationContext> { @PostConstruct public void init() { multiHandler.addHandler(connectionHandler); multiHandler.addHandler(containmentHandler); } protected  ConnectorParentsMatchHandler(); @Inject  ConnectorParentsMatchHandler(final ConnectorParentsMatchConnectionHandler connectionHandler,
                                        final ConnectorParentsMatchContainmentHandler containmentHandler,
                                        final RuleExtensionMultiHandler multiHandler); @PostConstruct void init(); @Override Class<ConnectorParentsMatchHandler> getExtensionType(); @Override Class<RuleEvaluationContext> getContextType(); @Override boolean accepts(final RuleExtension rule,
                           final RuleEvaluationContext context); @Override RuleViolations evaluate(final RuleExtension rule,
                                   final RuleEvaluationContext context);  }