public void TestInterfaceProxyGenericMethod() { IInterface duck = DuckTyping.Cast <IInterface>(new Duck()); Assert.AreEqual("A", duck.GenericMethod <string>("A"), "Generic method returned wrong value."); }