INoImplicitSender Interface |
public class WithImplicitSender : TestKit { public void TheTestMethod() { ... someActor.Tell("message"); //TestActor is used as Sender someActor.Tell("message", TestActor); //TestActor is used as Sender } } public class WithNoImplicitSender : TestKit, INoImplicitSender { public void TheTestMethod() { ... someActor.Tell("message"); //ActorRefs.NoSender is used as Sender } }
Namespace: Akka.TestKit