### Question:
ContextualGraphCommandExecutionContext extends AbstractGraphCommandExecutionContext { public void clear() { getState().clear(); } ContextualGraphCommandExecutionContext(final DefinitionManager definitionManager,
                                                  final FactoryManager factoryManager,
                                                  final RuleManager ruleManager,
                                                  final Index<?, ?> graphIndex,
                                                  final RuleSet ruleSet);   ContextualGraphCommandExecutionContext(final DefinitionManager definitionManager,
                                           final FactoryManager factoryManager,
                                           final RuleManager ruleManager,
                                           final RuleEvaluationContextBuilder.StatefulGraphContextBuilder contextBuilder,
                                           final Index<?, ?> graphIndex,
                                           final RuleSet ruleSet); void clear(); @Override RuleViolations evaluate(final GraphEvaluationContext context); @Override RuleSet getRuleSet();  }### Answer:
@Test public void testClear() { tested.clear(); verify(state, times(1)).clear(); }