public function it_should_call_api_rename_tag_when_calling_add_tag() { $pids = ['pid1', 'pid2']; $tag = 'tag'; $this->uploader->shouldReceive('replace_tag')->once()->with($tag, $pids, array()); $this->cloudinary_wrapper->replaceTag($tag, $pids); }