public function it_should_update_a_resource_when_calling_update() { $pid = 'pid'; $options = ['tags' => 'tag1']; // given $this->api->shouldReceive('update')->once()->with($pid, $options); // when $this->cloudinary_wrapper->update($pid, $options); }