public void Should_resolve_a_destination_address() { Registry.Send(new A { Name = "bob" }, msg => { msg.DestinationAddress = new ActorUrn(ActorId); }); ReceivedA.WaitUntilCompleted(2.Seconds()).ShouldBeTrue(); }
public void Should_allow_selection_of_a_remote_actor() { Registry.Select(new ActorUrn(Address, ActorId), actor => { actor.Send(new A { Name = "bob" }); }, () => {}); ReceivedA.WaitUntilCompleted(2.Seconds()).ShouldBeTrue(); }