Neos\ContentRepository\Tests\Unit\Domain\Service\ConfigurationContentDimensionPresetSourceTest::setUp PHP Method

setUp() public method

public setUp ( ) : void
return void
    public function setUp()
    {
        foreach ($this->allLanguages as $languageCode => $languageName) {
            $this->configurationWithThreeDimensionsAndManyValues['language']['presets'][$languageCode] = array('label' => $languageName, 'values' => array($languageCode), 'uriSegment' => $languageCode);
        }
        foreach ($this->allCountries as $countryCode => $countryName) {
            $this->configurationWithThreeDimensionsAndManyValues['country']['presets'][$countryCode] = array('label' => $countryName, 'values' => array($countryCode), 'uriSegment' => strtolower($countryCode));
        }
        foreach ($this->allPersonas as $personaCode => $personaName) {
            $this->configurationWithThreeDimensionsAndManyValues['persona']['presets'][$personaCode] = array('label' => $personaName, 'values' => array($personaName), 'uriSegment' => $personaCode);
        }
    }