}
@Test
public void removingMiddleOfThree() throws Exception
{
EventAction action = EventActionMulticaster.add(action1, action2);
action = EventActionMulticaster.add(action, action3);
EventAction result = EventActionMulticaster.remove(action, action2);
assertEquals(EventActionMulticaster.class, result.getClass());
EventActionMulticaster multicaster = (EventActionMulticaster) result;
assertSame(action1, multicaster.getFirst());
assertSame(action3, multicaster.getSecond());
}