 | IEventFilterApplierExpectOne Method (Action) |
Executes
action and
expects one event to be logged during the execution.
This method fails and throws an exception if more than one event is logged,
or if a timeout occurs. The timeout is taken from the config value
"akka.test.filter-leeway", see
TestEventFilterLeeway.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxvoid ExpectOne(
Action action
)
abstract ExpectOne :
action : Action -> unit
Parameters
- action
- Type: SystemAction
The action.
See Also