public function it_should_restore_resources_when_calling_restore() { $pids = ['pid1', 'pid2']; // given $this->api->shouldReceive('restore')->once()->with($pids, array()); // when $this->cloudinary_wrapper->restore($pids); }