/** * @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')); }