public void ProxyForRefAndOutClassWithReferenceTypeParams() { LogInvokeInterceptor interceptor = new LogInvokeInterceptor(); RefAndOutClass proxy = (RefAndOutClass) _generator.CreateClassProxy( typeof(RefAndOutClass), interceptor); Assert.IsNotNull(proxy); string string1 = "foobar"; proxy.RefString(ref string1); Assert.AreEqual("foobar_string", string1); string string2; proxy.OutString(out string2); Assert.AreEqual("string", string2); Assert.AreEqual("RefString OutString ", interceptor.LogContents); }