Esempio n. 1
0
 public void ThenReturnsConfiguredMember()
 {
     Assert.AreSame(
         StaticReflection.GetFieldInfo((TypeWithValidationAttributes t) => t.FieldWithMultipleValidationAttributes),
         this.validatedElement.MemberInfo);
 }
 public void ThenReturnsConfiguredMember()
 {
     Assert.AreSame(
         StaticReflection.GetPropertyInfo((TypeWithValidationAttributes t) => t.PropertyWithSingleValidationAttribute),
         this.validatedElement.MemberInfo);
 }