Пример #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);
 }
Пример #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);
 }
Пример #3
0
 public void VerifyGet <TProperty>(Expression <Func <T, TProperty> > expression)
 {
     Mock.VerifyGet(this, expression, Times.AtLeastOnce(), null);
 }
Пример #4
0
 public void VerifyGet <TProperty>(Expression <Func <T, TProperty> > expression, string failMessage)
 {
     Mock.VerifyGet(this, expression, Times.AtLeastOnce(), failMessage);
 }
Пример #5
0
 public void Verify <TResult>(Expression <Func <T, TResult> > expression, string failMessage)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), failMessage);
 }
Пример #6
0
 public void Verify <TResult>(Expression <Func <T, TResult> > expression)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), null);
 }
Пример #7
0
 public void Verify(Expression <Action <T> > expression, string failMessage)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), failMessage);
 }
Пример #8
0
 public void Verify(Expression <Action <T> > expression)
 {
     Mock.Verify(this, expression, Times.AtLeastOnce(), null);
 }
Пример #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);
 }