// After firing all activations of RuleFlowGroup 0, the agenda is empty
agenda.fireNextItem(null, 0, -1);
assertEquals(0,
ruleFlowGroup0.size());
assertEquals(2,
agenda.agendaSize());
// Now we activate two RuleFlowGroups together
// All their activations should be added to the agenda.
agenda.activateRuleFlowGroup("rule-flow-group-1");
agenda.activateRuleFlowGroup("rule-flow-group-2");