a.dispatch("testEventDoesNotExist", new TestDataWrapper(data));
}
@Test
public void testDispatch() {
EventDispatcher a = new EventDispatcher(EventDispatcherTest.class);
Map<Object,Object> data = new HashMap<Object,Object>();
a.dispatch("DispatcherTestEvent", new TestDataWrapper(data));
assertEquals("event executed", data.get("ok"));
}