Example #1
0
        public void Calling_method_should_call_it_on_server()
        {
            var impl = new MessageActor();

            Utils.CreateServerAndClient<MessageActor, IMessageActor>(impl, out server, out client);

            client.Ping().Wait();

            Assert.Equal(1, impl.PingsCalled);
        }
Example #2
0
        public void Calling_method_should_call_it_on_server()
        {
            var impl = new MessageActor();

            Utils.CreateServerAndClient <MessageActor, IMessageActor>(impl, out server, out client);

            client.Ping().Wait();

            Assert.Equal(1, impl.PingsCalled);
        }