agenda.fireNextItem(null, 0, -1);
assertEquals(1,
agendaGroup.size());
// Clear the agenda we we can test again
agenda.clearAndCancel();
assertEquals(0,
agendaGroup.size());
// Now test that autoFocus=true works. Here the rule should fire as its
// agendaGroup gets the focus when the activation is created.