Directly inject messages into actor receive behavior.
Directly inject messages into actor receive behavior. Any exceptions thrown will be available to you, while still being able to use become/unbecome.
Directly inject messages into actor receive behavior.
Directly inject messages into actor receive behavior. Any exceptions thrown will be available to you, while still being able to use become/unbecome.
Retrieve reference to the underlying actor, where the static type matches the factory used inside the constructor.
Retrieve reference to the underlying actor, where the static type matches the factory used inside the constructor. Beware that this reference is discarded by the ActorRef upon restarting the actor (should this reference be linked to a supervisor). The old Actor may of course still be used in post-mortem assertions.
Deregisters this actor from being a death monitor of the provided ActorRef This means that this actor will not get a Terminated()-message when the provided actor is permanently terminated.
Deregisters this actor from being a death monitor of the provided ActorRef This means that this actor will not get a Terminated()-message when the provided actor is permanently terminated.
the same ActorRef that is provided to it, to allow for cleaner invocations
Registers this actor to be a death monitor of the provided ActorRef This means that this actor will get a Terminated()-message when the provided actor is permanently terminated.
Registers this actor to be a death monitor of the provided ActorRef This means that this actor will get a Terminated()-message when the provided actor is permanently terminated.
the same ActorRef that is provided to it, to allow for cleaner invocations
(testActorRef: ScalaActorRef).!(message)(sender)
(testActorRef: ActorRef).compareTo(other)
(testActorRef: ActorRef).equals(that)
(testActorRef: ActorRef).forward(message)(context)
(testActorRef: ActorRef).hashCode()
(testActorRef: ActorRef).path
(testActorRef: ActorRef).tell(msg, sender)
(testActorRef: ActorRef).toString()
(testActorRef: ActorRef).isTerminated
(Since version 2.2) Use context.watch(actor) and receive Terminated(actor)
(Since version 2.2) Use context.watch(actor) and receive Terminated(actor)
This special ActorRef is exclusively for use during unit testing in a single-threaded environment. Therefore, it overrides the dispatcher to CallingThreadDispatcher and sets the receiveTimeout to None. Otherwise, it acts just like a normal ActorRef. You may retrieve a reference to the underlying actor to test internal logic.
1.1