Click or drag to resize
Akka.NETIEventFilterApplierExpect Method (Int32, Action)
Executes action and expects the specified number of events to be logged during the execution. This method fails and throws an exception if more events than expected are 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)
Syntax
void Expect(
	int expectedCount,
	Action action
)

Parameters

expectedCount
Type: SystemInt32
The expected number of events
action
Type: SystemAction
The action.
See Also