1
0
Fork 0
Commit Graph

1 Commits (f626ccbcee1b67a13e14cae6584c21243b1ec79d)

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