-
-
Notifications
You must be signed in to change notification settings - Fork 19
Can't mock "exit" #11
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
Comments
Other functions can be mocked without this error. |
You can't mock exit:
PHPMock can only mock functions. |
Heh, that makes sense - I was sure I had done it before... hmm... Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I try to mock
exit
I get an error:In my test:
$this->getFunctionMock('Silva', 'exit');
When I run the test:
Versions:
The text was updated successfully, but these errors were encountered: