1
0
Fork 0
Commit Graph

1 Commits (f8b2f203a1f62f1fcf6a529529f9b36c87c8128f)

Author SHA1 Message Date
Andrea Turso f626ccbcee Wrapped the listener invocation a try/catch block that catches any
exception and throws a \RuntimeException.
Added a test case for the EventDispatcher.

Note:
In order to test the doDispatch method I had to use a stub EventDispatcher
with a getListeners that returned a preconfigured array. IMHO there should
be a way to inject the listeners into the EventDispatcher.
2012-05-15 21:25:18 +01:00