public function setUp()
{
$this->storage = $this->createStorage();
$hydrator = new DefaultHydrator($this->storage);
$this->schemaBuilder = new Schema\Builder("map");
$productSchema = new Schema\TypeSchema("test", ["without_default" => new MapField(), "with_default" => new MapField([])]);
$this->schemaBuilder->addType($productSchema);
$this->registry = new MetadataAccessRegistry($this->storage, $this->schemaBuilder, $hydrator);
$this->storage->alter($this->schemaBuilder->build());
}