public void ProxyTest() { var testService = new TestProxy(typeof(TestService)).GetTransparentProxy() as TestService; Assert.NotNull(testService); Assert.AreEqual("hi", testService.Echo("hi")); }