@Test
public void canUseDispatchToReceiveNotifications() throws NoSuchMethodException {
final Dispatch<MethodInvocation> dispatch1 = context.mock(Dispatch.class, "listener1");
final Dispatch<MethodInvocation> dispatch2 = context.mock(Dispatch.class, "listener2");
final MethodInvocation invocation = new MethodInvocation(TestListener.class.getMethod("event1", String.class), new Object[] { "param" });
context.checking(new Expectations() {{
one(dispatch1).dispatch(invocation);
one(dispatch2).dispatch(invocation);
}});