Closed sjparkinson closed 9 years ago
We were having some issues with Mockery expectation validation in #9, turns out it was because we were not calling Mockery::close().
Mockery::close()
This PR adds the bundled mockery test listener to the phpunit config.
See http://docs.mockery.io/en/latest/reference/phpunit_integration.html.
There were three errors that resulted in adding the listener, which these changes "resolve".
I couldn't work out if Jake intended there to be three calls to isValid in all the handlers, hence the PR to get a sanity check :confused:.
isValid
That makes sense.
Looks sensible (with isValid) apart from lots of repeated code. At least its clear whats going on.
:+1:
Thanks!
We were having some issues with Mockery expectation validation in #9, turns out it was because we were not calling
Mockery::close()
.This PR adds the bundled mockery test listener to the phpunit config.
See http://docs.mockery.io/en/latest/reference/phpunit_integration.html.
There were three errors that resulted in adding the listener, which these changes "resolve".
I couldn't work out if Jake intended there to be three calls to
isValid
in all the handlers, hence the PR to get a sanity check :confused:.