Click or drag to resize
Akka.NETTestKitBaseExpectMsgT Method (T, FuncT, T, Boolean, NullableTimeSpan, String)
Receive one message from the test actor and assert that it is equal to the expected value, according to the specified comparer function. Wait time is bounded by remaining time for execution of the innermost enclosing 'within' block, if inside a 'within' block; otherwise by the config value "akka.test.single-expect-default".

Namespace:  Akka.TestKit
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public T ExpectMsg<T>(
	T expected,
	Func<T, T, bool> comparer,
	Nullable<TimeSpan> timeout = null,
	string hint = null
)

Parameters

expected
Type: T
TBD
comparer
Type: SystemFuncT, T, Boolean
TBD
timeout (Optional)
Type: SystemNullableTimeSpan
TBD
hint (Optional)
Type: SystemString
TBD

Type Parameters

T
TBD

Return Value

Type: T
TBD
See Also