Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shouldNotHaveReceived does not increment expectation count. #440

Closed
Bilge opened this issue Feb 18, 2015 · 2 comments
Closed

shouldNotHaveReceived does not increment expectation count. #440

Bilge opened this issue Feb 18, 2015 · 2 comments
Labels
Bug An error or unexpected behavior.

Comments

@Bilge
Copy link
Contributor

Bilge commented Feb 18, 2015

Writing a shouldNotHaveReceived('method') expectation on a mock object does not increment the mockery_getExpectationCount counter.

@padraic padraic added the Bug An error or unexpected behavior. label Feb 18, 2015
@aik099
Copy link

aik099 commented Feb 18, 2015

I guess we need to test result change of mockery_getExpectationCount() method as part of each test.

@robertbasic
Copy link
Collaborator

#563 was merged, so closing this issue for now.

If this is still an issue for you, please open a new ticket!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug An error or unexpected behavior.
Projects
None yet
Development

No branches or pull requests

4 participants