Esempio n. 1
0
        public void TestIntReturning()
        {
            SimpleServer server = new SimpleServer();

            server.GetInt().Should().Be(10);

            server = (SimpleServer) new EasyProxy((o, m, p) => 42).CreateMarshallable(server);
            server.GetInt().Should().Be(42);
        }