We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@lorisleiva there is a static::shouldRun() method, which is a wrapper around static::mock()->shouldRecieve('handle')
static::shouldRun()
static::mock()->shouldRecieve('handle')
Would you have any reservations to add shouldExpect().. something like:
shouldExpect()
/** * @return Expectation|ExpectationInterface|ExpectsHigherOrderMessage */ public static function shouldExpect() { return static::mock()->expects('handle'); }
I like how expects allows you to both set expectations and evaluate it after..?
expects
The text was updated successfully, but these errors were encountered:
I like it and I would merge a PR containing this.
Sorry, something went wrong.
No branches or pull requests
@lorisleiva there is a
static::shouldRun()
method, which is a wrapper aroundstatic::mock()->shouldRecieve('handle')
Would you have any reservations to add
shouldExpect()
.. something like:I like how
expects
allows you to both set expectations and evaluate it after..?The text was updated successfully, but these errors were encountered: