@Test public void testRegisterHandlers() { tested.init(); verify(registry, times(1)).register(eq(handler)); }
@PostConstruct public void init() { ruleEvaluationHandlerInstances.forEach(registry()::register); }
ClientRuleManager implements RuleManager { @PostConstruct public void init() { ruleEvaluationHandlerInstances.forEach(registry()::register); } }
ClientRuleManager implements RuleManager { @PostConstruct public void init() { ruleEvaluationHandlerInstances.forEach(registry()::register); } protected  ClientRuleManager(); @Inject  ClientRuleManager(final CachedRuleManager ruleManager,
                             final @Any ManagedInstance<RuleEvaluationHandler> ruleEvaluationHandlerInstances); }
ClientRuleManager implements RuleManager { @PostConstruct public void init() { ruleEvaluationHandlerInstances.forEach(registry()::register); } protected  ClientRuleManager(); @Inject  ClientRuleManager(final CachedRuleManager ruleManager,
                             final @Any ManagedInstance<RuleEvaluationHandler> ruleEvaluationHandlerInstances); @PostConstruct void init(); @Override RuleHandlerRegistry registry(); @Override RuleViolations evaluate(final RuleSet ruleSet,
                                   final RuleEvaluationContext context); }
ClientRuleManager implements RuleManager { @PostConstruct public void init() { ruleEvaluationHandlerInstances.forEach(registry()::register); } protected  ClientRuleManager(); @Inject  ClientRuleManager(final CachedRuleManager ruleManager,
                             final @Any ManagedInstance<RuleEvaluationHandler> ruleEvaluationHandlerInstances); @PostConstruct void init(); @Override RuleHandlerRegistry registry(); @Override RuleViolations evaluate(final RuleSet ruleSet,
                                   final RuleEvaluationContext context);  }