}
@Test
public void chainingMulticasters() throws Exception
{
EventAction action = EventActionMulticaster.add(action1, action2);
action = EventActionMulticaster.add(action, action3);
action = EventActionMulticaster.add(action, action4);
action = EventActionMulticaster.add(action, action5);
action.invoke(null);
assertEquals(action1, invokations.get(0));
assertEquals(action2, invokations.get(1));
assertEquals(action3, invokations.get(2));
assertEquals(action4, invokations.get(3));