Click or drag to resize
Akka.NETTestKitBaseExpectMsgAnyOfT 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
)

Parameters

messages
Type: T
The messages.

Type Parameters

T
The type of the messages

Return Value

Type: T
The received messages in received order
See Also