예제 #1
0
 public void matches_by_object_property_type_negative()
 {
     var binder = new PassthroughConverter<HttpPostedFileBase>();
     binder.Matches(property(x => x.File3)).ShouldBeFalse();
 }
예제 #2
0
 public void matches_by_property_type_positive()
 {
     var binder = new PassthroughConverter<HttpPostedFileBase>();
     binder.Matches(property(x => x.File)).ShouldBeTrue();
 }
예제 #3
0
        public void matches_by_property_type_negative()
        {
            var binder = new PassthroughConverter <HttpPostedFileBase>();

            binder.Matches(property(x => x.File2)).ShouldBeFalse();
        }