}
@Test
public void Main_doUpdateEvent_OneValidEvent()
{
main.doAddEvent(new EventInfo(eIffy, null));
List<Event> eSet = main.events().eventList();
Event ev = null;
for (Event e : eSet) {
if (e.name().equals(eIffy))
ev = e;
}
EventInfo eInfo = new EventInfo(ePine, null);
main.doUpdateEvent(ev, eInfo);
assertTrue(eSet.size() == 2);
assertTrue(ev.name().equals(ePine));
assertTrue(ev.parameters().size() == 0);
}