Beispiel #1
0
        public void CheckGetToProperty2()
        {
            var hp1 = new HasProperty1().As <IHasProperty>();

            Assert.Equal("OtherName", hp1.OtherName);
        }
Beispiel #2
0
        public void CheckGetToProperty1()
        {
            var hp1 = new HasProperty1().As <IHasProperty>();

            Assert.Equal("Name", hp1.GetName());
        }