public void VerifyCallCount_action_should_work() { var exp = _mock.Expression(m => m.WithNoParms()); _test.WithNoParms(); _test.WithNoParms(); _test.WithNoParms(); AssertExceptionNotThrown.WhenExecuting(() => _mock.VerifyCallCount(3, exp)); AssertExceptionMessageContaining("exactly 2 times, but was 3 times", () => _mock.VerifyCallCount(2, exp)); }