/** * @test */ public function forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithGetConfigurationFor() { // using stdClass so that class_parents() in getTypeConvertersWithParentClasses() is happy $this->propertyMappingConfiguration->forProperty('items.*')->setTypeConverterOptions('stdClass', array('k1' => 'v1')); $configuration = $this->propertyMappingConfiguration->getConfigurationFor('items')->getConfigurationFor('6'); $this->assertSame('v1', $configuration->getConfigurationValue('stdClass', 'k1')); }