public function test_saving_with_update()
{
$uuid = (string) Uuid::uuid4();
$this->storage->create($this->schema);
$this->storage->save('test', 'foo', $uuid, ['text' => 'old-value']);
$this->storage->save('test', 'foo', $uuid, ['text' => 'new-value']);
$result = $this->connection->createQueryBuilder()->select('*')->from('metadata_test_foo')->where('id = :id')->setParameter('id', $uuid)->execute()->fetch();
$this->assertEquals(['id' => $uuid, 'text' => 'new-value'], $result);
}