Click or drag to resize
Akka.NETTestKitBaseExpectTerminated Method
Receive one message from the test actor and assert that it is the Terminated message of the given ActorRef. Wait time is bounded by the given duration, if specified; otherwise 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.42 (1.2.3.42)
Syntax
public Terminated ExpectTerminated(
	IActorRef target,
	Nullable<TimeSpan> timeout = null,
	string hint = null
)

Parameters

target
Type: Akka.ActorIActorRef
TBD
timeout (Optional)
Type: SystemNullableTimeSpan
TBD
hint (Optional)
Type: SystemString
TBD

Return Value

Type: Terminated
TBD
See Also