public function ServiceContainerIntegrationTest::testInit in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/service_container/Tests/ServiceContainerIntegrationTest.php \Drupal\service_container\Tests\ServiceContainerIntegrationTest::testInit()
Tests some basic
File
- lib/
Drupal/ service_container/ Tests/ ServiceContainerIntegrationTest.php, line 26 - Contains \Drupal\service_container\Tests\ServiceContainerIntegrationTest.
Class
Namespace
Drupal\service_container\TestsCode
public function testInit() {
$this
->assertTrue(\Drupal::hasService('service_container'));
$this
->assertTrue(\Drupal::hasService('module_handler'));
$this
->assertTrue(\Drupal::hasService('module_installer'));
}