/**
  * @test
  */
 public function setTypeConverterOptionShouldOverrideAlreadySetOptions()
 {
     $mockTypeConverterClass = $this->getMockClass('TYPO3\\Flow\\Property\\TypeConverterInterface');
     $this->propertyMappingConfiguration->setTypeConverterOptions($mockTypeConverterClass, array('k1' => 'v1', 'k2' => 'v2'));
     $this->propertyMappingConfiguration->setTypeConverterOption($mockTypeConverterClass, 'k1', 'v3');
     $this->assertEquals('v3', $this->propertyMappingConfiguration->getConfigurationValue($mockTypeConverterClass, 'k1'));
     $this->assertEquals('v2', $this->propertyMappingConfiguration->getConfigurationValue($mockTypeConverterClass, 'k2'));
 }
 /**
  * @param array $typeConverterOptions
  * @return PropertyMappingConfiguration
  */
 protected function buildConfiguration($typeConverterOptions)
 {
     $configuration = new PropertyMappingConfiguration();
     $configuration->setTypeConverterOptions(\TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter::class, $typeConverterOptions);
     return $configuration;
 }