/// <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); }
/// <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); }
public void VerifyGet <TProperty>(Expression <Func <T, TProperty> > expression) { Mock.VerifyGet(this, expression, Times.AtLeastOnce(), null); }
public void VerifyGet <TProperty>(Expression <Func <T, TProperty> > expression, string failMessage) { Mock.VerifyGet(this, expression, Times.AtLeastOnce(), failMessage); }
public void Verify <TResult>(Expression <Func <T, TResult> > expression, string failMessage) { Mock.Verify(this, expression, Times.AtLeastOnce(), failMessage); }
public void Verify <TResult>(Expression <Func <T, TResult> > expression) { Mock.Verify(this, expression, Times.AtLeastOnce(), null); }
public void Verify(Expression <Action <T> > expression, string failMessage) { Mock.Verify(this, expression, Times.AtLeastOnce(), failMessage); }
public void Verify(Expression <Action <T> > expression) { Mock.Verify(this, expression, Times.AtLeastOnce(), null); }
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); }