public function test_reading_metadata()
{
$mao = $this->registry->getMAO("test");
$id = MetadataId::generate();
$mao->save(new Metadata($id, "test", []));
$metadata = $mao->getBy(['id' => (string) $id]);
$this->assertSame(null, $metadata->without_default);
$this->assertSame([], $metadata->with_default);
}