public function testValueCanBeSetOnInstantiatedObject()
{
$entityMetadata = $this->entityMetadataFactory->create(Person::class);
/** @var Person $o */
$o = $entityMetadata->newInstance();
$entityMetadata->getPropertyMetadata('name')->setValue($o, 'John');
$this->assertEquals('John', $o->getName());
}