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