This project is read-only.
1

Closed

(Duplicate Please delete) Expects.Exactly(int) doesn't work as expected

description

I believe there is an issue with the Expects.Exactly(int) functionality. The code appears to check that the actual number of calls does not exceed the number of expected calls. Consider the following scenarios
 
Scenario 1:
Expect Exactly = 4
Actual = 4 passes as expected
 
Scenario 2:
Expect Exactly = 4
Actual = 5 fails as expected
 
scenario 3:
Expect Exactly = 4
Actual = 3 passes when it should faile
Closed Jul 27, 2011 at 9:17 PM by pwolfe
duplicate

comments