コード例 #1
0
        public void InstanceOfInterface()
        {
            var o = new Support.SubClass();

            Assert.True(o.IsA(typeof(Support.AnInterface)));
        }
コード例 #2
0
        public void InstanceOfSubClass()
        {
            var o = new Support.SubClass();

            Assert.True(o.IsA(typeof(Support.ClassWithProperties)));
        }