public function testLanguageConfigOverrideInstall() { ConfigurableLanguage::
createFromLangcode('de'
)->
save();
// Need to enable test module after creating the language otherwise saving
// the language will install the configuration.
$this->
enableModules(['language_config_override_test'
]);
\Drupal::
state()->
set('config_events_test.event', FALSE
);
$this->
installConfig(['language_config_override_test'
]);
$event_recorder = \Drupal::
state()->
get('config_events_test.event', FALSE
);
$this->
assertFalse($event_recorder);
$config = \Drupal::
service('language.config_factory_override'
)->
getOverride('de', 'language_config_override_test.settings'
);
$this->
assertEquals('Deutsch',
$config->
get('name'
));
}}