@Test
public void testDispatchDoesNotExist() throws IllegalAccessException {
ActionDispatcher a = new ActionDispatcher(ActionDispatcherTest.class);
HashMap<Object, Object> data = new HashMap<Object, Object>();
a.dispatch("testActionDoesNotExist", new TestDataWrapper(data));
if (data.containsKey("testActionExecuted")) throw new IllegalAccessException("action was executed");
}
@Test