GetPropertyInfo() public method

public GetPropertyInfo ( ) : PropertyInfo
return System.Reflection.PropertyInfo
 public void Test_Construct_WithPropInfor_ShouldSetPropInfo()
 {
     //---------------Set up test pack-------------------
     PropertyInfo propertyInfo = new Habanero.Testability.Helpers.FakePropertyInfo();
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     var propDescriptor = new PropertyDescriptorPropInfoSpy(propertyInfo);
     //---------------Test Result -----------------------
     Assert.IsNotNull(propDescriptor);
     Assert.AreSame(propertyInfo, propDescriptor.GetPropertyInfo());
 }
        public void Test_Construct_WithPropInfor_ShouldSetPropInfo()
        {
            //---------------Set up test pack-------------------
            PropertyInfo propertyInfo = new Habanero.Testability.Helpers.FakePropertyInfo();
            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            var propDescriptor = new PropertyDescriptorPropInfoSpy(propertyInfo);

            //---------------Test Result -----------------------
            Assert.IsNotNull(propDescriptor);
            Assert.AreSame(propertyInfo, propDescriptor.GetPropertyInfo());
        }