public static void AssertWasNotCalled <T>(this T obj, Expression <Action <T> > expression) where T : class { MockRepository.Get(obj).Verify(expression, Times.Never); }
public static void VerifyAllExpectations <T>(this T obj) where T : class { MockRepository.Get(obj).Verify(); }
public static IExpect <T> Stub <T>(this T obj, Expression <Action <T> > expression) where T : class { return(new Expect <T>(MockRepository.Get(obj), expression)); }