| TestKitBaseExpectMsgAnyOfT Method |
Receive a message from the test actor and assert that it equals
one of the given
messages. Wait time is bounded by
RemainingOrDefault as duration, with an assertion exception being thrown in case of timeout.
Namespace:
Akka.TestKit
Assembly:
Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public T ExpectMsgAnyOf<T>(
params T[] messages
)
member ExpectMsgAnyOf :
messages : 'T[] -> 'T
Parameters
- messages
- Type: T
The messages.
Type Parameters
- T
- The type of the messages
Return Value
Type:
TThe received messages in received order
See Also