public void Property_ClrPropertyInfo_RoundTrips()
 {
     Mock<PropertyInfo> mockPropertyInfo = new Mock<PropertyInfo>();
     PropertyInfo defaultPropertyInfo = mockPropertyInfo.Object;
     ClrPropertyInfoAnnotation _clrPropertyInfoAnnotation = new ClrPropertyInfoAnnotation(defaultPropertyInfo);
     PropertyInfo propertyInfo = new Mock<PropertyInfo>().Object;
     Assert.Reflection.Property(
         _clrPropertyInfoAnnotation,
         c => c.ClrPropertyInfo,
         defaultPropertyInfo,
         allowNull: false,
         roundTripTestValue: propertyInfo);
 }
        public void Property_ClrPropertyInfo_RoundTrips()
        {
            Mock <PropertyInfo>       mockPropertyInfo           = new Mock <PropertyInfo>();
            PropertyInfo              defaultPropertyInfo        = mockPropertyInfo.Object;
            ClrPropertyInfoAnnotation _clrPropertyInfoAnnotation = new ClrPropertyInfoAnnotation(defaultPropertyInfo);
            PropertyInfo              propertyInfo = new Mock <PropertyInfo>().Object;

            Assert.Reflection.Property(
                _clrPropertyInfoAnnotation,
                c => c.ClrPropertyInfo,
                defaultPropertyInfo,
                allowNull: false,
                roundTripTestValue: propertyInfo);
        }