We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
andReturn
similar to #3
I am still experiencing the following code as failing on 0.11.2
0.11.2
$mock = Mockery::mock(Something::class); $mock ->shouldReceive('foo') ->andReturn(null) ->shouldReceive('bar');
Currently, the second shouldReceive call will trigger this error: Call to an undefined method Mockery\Expectation::shouldReceive().
Call to an undefined method Mockery\Expectation::shouldReceive().