public static void test_iface_value_from_c() { var obj = new Dummy.TestObject(); obj.SetIfaceKlassProp(typeof(MyObject)); Test.AssertEquals(obj.IfaceValueFromC.GetType(), typeof(MyObject)); obj.Dispose(); }