public function it_should_show_response_when_calling_resource() { $pid = 'pid'; // given $this->api->shouldReceive('resource')->once()->with($pid, array()); // when $this->cloudinary_wrapper->resource($pid); }