Say you are waiting for an object myDispatcher to dispatch an event myEvent.
Then you call myDispatcher.addEventListener("myEvent", addAsync(
handleSuccess, 1000 ));
Inside handleSuccess you can assert as usually. If handleSuccess is
not called within 1000 ms, the test fails.Cheers Ralf.

