public function testUpdate()
{
$snippet = $this->snippetFromMethod(StorageObject::class, 'update');
$snippet->addLocal('object', $this->object);
$this->connection->patchObject(Argument::any())->shouldBeCalled();
$this->object->setConnection($this->connection->reveal());
$snippet->invoke();
}