### Question:
UnitRuleGroup extends CompositeRule { @Override public void execute(Facts facts) throws Exception { for (Rule rule : rules) { rule.execute(facts); } } UnitRuleGroup();  UnitRuleGroup(String name);  UnitRuleGroup(String name, String description);  UnitRuleGroup(String name, String description, int priority); @Override boolean evaluate(Facts facts); @Override void execute(Facts facts);  }### Answer:
@Test public void compositeRuleAndComposingRulesMustBeExecuted() throws Exception { unitRuleGroup = new UnitRuleGroup(); unitRuleGroup.addRule(rule1); unitRuleGroup.addRule(rule2); rules.register(unitRuleGroup); rulesEngine.fire(rules, facts); verify(rule1).execute(facts); verify(rule2).execute(facts); }