// Ensure that schema provided by modules that are not installed is not
// available.
$this->assertFalse(\Drupal::service('config.typed')->hasConfigSchema('config_test.schema_in_install'),'Configuration schema for config_test.schema_in_install does not exist.');
// Install the test module.
$this->enableModules(array('config_test'));
$this->installConfig(array('config_test'));
// After module installation the new schema should exist.
$this->assertTrue(\Drupal::service('config.typed')->hasConfigSchema('config_test.schema_in_install'),'Configuration schema for config_test.schema_in_install exists.');
$this->assertFalse(\Drupal::service('config.typed')->hasConfigSchema('config_test.schema_in_install'),'Configuration schema for config_test.schema_in_install does not exist.');