### Question:
ConnectorParentsMatchHandler extends RuleExtensionHandler<ConnectorParentsMatchHandler, RuleEvaluationContext> { @Override public RuleViolations evaluate(final RuleExtension rule, final RuleEvaluationContext context) { return multiHandler.evaluate(rule, context); } 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);  }### Answer:
@Test public void testEvaluate() { final RuleExtension ruleExtension = mock(RuleExtension.class); when(ruleExtension.getArguments()).thenReturn(new String[]{"parentType"}); final RuleEvaluationContext context = mock(RuleEvaluationContext.class); assertEquals(ruleViolations, tested.evaluate(ruleExtension, context)); verify(multiHandler, times(1)).evaluate(eq(ruleExtension), eq(context)); }