Beispiel #1
0
 /// <include file='Mock.Generic.xdoc' path='docs/doc[@for="Mock{T}.VerifySet(expression)"]/*'/>
 public void VerifySet(Action <T> setterExpression)
 {
     Mock.VerifySet <T>(this, setterExpression, Times.AtLeastOnce(), null);
 }
Beispiel #2
0
 /// <include file='Mock.Generic.xdoc' path='docs/doc[@for="Mock{T}.VerifySet(expression,failMessage)"]/*'/>
 public void VerifySet(Action <T> setterExpression, string failMessage)
 {
     Mock.VerifySet(this, setterExpression, Times.AtLeastOnce(), failMessage);
 }
Beispiel #3
0
 public void VerifyGet <TProperty>(Expression <Func <T, TProperty> > expression)
 {
     Mock.VerifyGet(this, expression, Times.AtLeastOnce(), null);
 }
Beispiel #4
0
 public void VerifyGet <TProperty>(Expression <Func <T, TProperty> > expression, string failMessage)
 {
     Mock.VerifyGet(this, expression, Times.AtLeastOnce(), failMessage);
 }
Beispiel #5
0
 public void Verify <TResult>(Expression <Func <T, TResult> > expression, string failMessage)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), failMessage);
 }
Beispiel #6
0
 public void Verify <TResult>(Expression <Func <T, TResult> > expression)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), null);
 }
Beispiel #7
0
 public void Verify(Expression <Action <T> > expression, string failMessage)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), failMessage);
 }
Beispiel #8
0
 public void Verify(Expression <Action <T> > expression)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), null);
 }
Beispiel #9
0
 public static void VerifySet <T, TProperty>(this Mock <T> mock, Expression <Func <T, TProperty> > expression, TProperty value, string failMessage)
     where T : class
 {
     Mock.VerifySet(mock, expression, value, Times.AtLeastOnce(), failMessage);
 }