for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mockery;
class ExpectsHigherOrderMessage extends HigherOrderMessage
{
public function __construct(MockInterface $mock)
return parent::__construct($mock, "shouldReceive");
}
/**
* @return Mockery\Expectation
*/
public function __call($method, $args)
$expectation = parent::__call($method, $args);
return $expectation->once();