You are here

public function ConfigFeaturesImporterServiceTest::testServiceAvailabilityWhenRequiredModulesPresented in Config Importer and Tools 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/ConfigFeaturesImporterServiceTest.php \Drupal\Tests\config_import\Unit\ConfigFeaturesImporterServiceTest::testServiceAvailabilityWhenRequiredModulesPresented()

Service must be available when "features" module installed.

File

tests/src/Unit/ConfigFeaturesImporterServiceTest.php, line 34

Class

ConfigFeaturesImporterServiceTest
Testing features importer service.

Namespace

Drupal\Tests\config_import\Unit

Code

public function testServiceAvailabilityWhenRequiredModulesPresented() {
  $this->container
    ->get('module_installer')
    ->install([
    'features',
  ]);
  static::assertTrue($this->container
    ->has('config_import.features_importer'));
}