public void MatchesReadAccess_False_WithReadOnlyProperty () { var binding = new MethodInfoBinding (Method, AssociatedExpression); Assert.That (binding.MatchesReadAccess (WriteOnlyProperty), Is.False); }
public void MatchesReadAccess_False () { var binding = new MethodInfoBinding (Method, AssociatedExpression); Assert.That (binding.MatchesReadAccess (Field), Is.False); }
public void MatchesReadAccess_True_WithProperty () { var binding = new MethodInfoBinding (Method, AssociatedExpression); Assert.That (binding.MatchesReadAccess (Property), Is.True); }