thechiselgroup/biomixer — comment on commit 56c9a84be7a7a68b87139209cbfdfd1b20731842
File: biomixer/jretest/org/thechiselgroup/biomixer/client/core/error_handling/TestThrowableEventListener.java line 4
By lgrammel:

Instead of creating a test listener, you can mock a ThrowableEvent listener and then verify that notifyOfThroableEvent got called (e.g. using Mockito.verify with an ArgumentCaptor).