protected http_should_execute_and_return ( |
||
$http | ||
$returnsValue | mixed | |
$times | integer |
protected function http_should_execute_and_return($http, $returnsValue, $times = 1)
{
$http->shouldReceive('execute')->times($times)->andReturn($returnsValue);
}