public void MatchesReadAccess_False ()
 {
   var binding = new PropertyInfoBinding (Property, AssociatedExpression);
   Assert.That (binding.MatchesReadAccess (Field), Is.False);
 }
 public void MatchesReadAccess_False_WithOtherGetter ()
 {
   var binding = new PropertyInfoBinding (Property, AssociatedExpression);
   Assert.That (binding.MatchesReadAccess (OtherProperty.GetGetMethod ()), Is.False);
 }
 public void MatchesReadAccess_False_WithGetter_IfWriteOnlyProperty ()
 {
   var binding = new PropertyInfoBinding (WriteOnlyProperty, AssociatedExpression);
   Assert.That (binding.MatchesReadAccess (Property.GetGetMethod ()), Is.False);
 }
 public void MatchesReadAccess_True ()
 {
   var binding = new PropertyInfoBinding (Property, AssociatedExpression);
   Assert.That (binding.MatchesReadAccess (Property), Is.True);
 }