public function testGetLocalesForLanguageIds(): void
{ $deDeLanguage =
$this->
getDeDeLanguageId();
static::
assertEquals([ Defaults::LANGUAGE_SYSTEM => 'en-GB',
$deDeLanguage => 'de-DE',
$this->ids->
get('language-parent'
) => 'language-locale',
$this->ids->
get('language-child'
) => 'language-locale',
],
$this->languageLocaleProvider->
getLocalesForLanguageIds([ Defaults::LANGUAGE_SYSTEM,
$deDeLanguage,
$this->ids->
get('language-parent'
),
$this->ids->
get('language-child'
),
]));
} private function createData(): void
{ $this->
getContainer()->
get('locale.repository'
)->
create([ [