Neos\Flow\Tests\Unit\Property\PropertyMappingConfigurationTest::forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap PHP Метод

forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap() публичный Метод

    public function forPropertyWithAsteriskAllowsArbitraryPropertyNamesWithShouldMap()
    {
        $this->propertyMappingConfiguration->forProperty('items.*')->setTypeConverterOptions('stdClass', ['k1' => 'v1']);
        $configuration = $this->propertyMappingConfiguration->forProperty('items');
        $this->assertTrue($configuration->shouldMap(6));
    }