public interface EventServiceProvider
EventServiceProvider provides method to assert on handler called.| Modifier and Type | Method and Description |
|---|---|
void |
wasHandledBy(Class<? extends org.seedstack.business.api.EventHandler>... handlers)
Checks if the given handlers was called.
|
void |
wasHandledExactlyBy(Class<? extends org.seedstack.business.api.EventHandler>... handlers)
Checks if the given list of handler exactly correspond to the called handlers.
|
void |
wasNotHandledBy(Class<? extends org.seedstack.business.api.EventHandler>... handlers)
Checks if the given handlers was not called.
|
void wasHandledBy(Class<? extends org.seedstack.business.api.EventHandler>... handlers)
handlers - handlers to testorg.seedstack.seed.core.api.SeedException - if the expectation is not respectedvoid wasHandledExactlyBy(Class<? extends org.seedstack.business.api.EventHandler>... handlers)
handlers - list to testorg.seedstack.seed.core.api.SeedException - if the expectation is not respectedvoid wasNotHandledBy(Class<? extends org.seedstack.business.api.EventHandler>... handlers)
handlers - list to testorg.seedstack.seed.core.api.SeedException - if the expectation is not respectedCopyright © 2013-2015–2015. All rights reserved.