public void ExpectInvokedAtMostNTimes() { Expect.AtMost(3).MethodCall(() => myObject.MyEmptyMethod()); myObject.MyEmptyMethod(); myObject.MyEmptyMethod(); myObject.MyEmptyMethod(); }