public GuidPingActor(GuidTestResults testResults, int maxPings) { _testResults = testResults; _maxPings = maxPings; _pong = ChildActorFor <IPong>(() => new GuidPongActor(testResults)); _pings = 0; _ping = SelfAs <IPing>(); }
public void Handle(IPong message) { Console.WriteLine("Pong"); }
public void ShouldNotResolvePong() { IPong pong = _provider.GetService <IPong>(); Assert.Null(pong); }