### Question:
OrCondition implements Condition { @Override public void deactivate(ConditionContext context) { for(Condition condition: conditions) { condition.deactivate(context); } } OrCondition(List<Condition> conditions); @Override boolean isSatisfiable(ConditionContext context); @Override boolean handlesEventsOfType(RuleEventType type); @Override void activate(ConditionContext context); @Override void deactivate(ConditionContext context); @Override boolean shouldFire(ConditionContext context, RuleEvent event); @Override boolean isSimpleTrigger();  }### Answer:
@Test public void testDeactivate() { cond1.deactivate(context); EasyMock.expectLastCall(); cond2.deactivate(context); EasyMock.expectLastCall(); cond3.deactivate(context); EasyMock.expectLastCall(); replay(); condition.deactivate(context); verify(); }