You are here

protected function ServiceContainerAnnotationDiscoveryIntegrationTest::setUp in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_annotation_discovery/lib/Drupal/service_container_annotation_discovery/Tests/ServiceContainerAnnotationDiscoveryIntegrationTest.php \Drupal\service_container_annotation_discovery\Tests\ServiceContainerAnnotationDiscoveryIntegrationTest::setUp()

Overrides ServiceContainerIntegrationTestBase::setUp

File

modules/providers/service_container_annotation_discovery/lib/Drupal/service_container_annotation_discovery/Tests/ServiceContainerAnnotationDiscoveryIntegrationTest.php, line 21
Contains \Drupal\service_container_annotation_discovery\Tests\ServiceContainerBlockIntegrationTest.

Class

ServiceContainerAnnotationDiscoveryIntegrationTest

Namespace

Drupal\service_container_annotation_discovery\Tests

Code

protected function setUp() {
  $modules[] = 'service_container_annotation_discovery_test';
  $modules[] = 'service_container_annotation_discovery_subtest';
  parent::setUp($modules);
  $this->container = \Drupal::getContainer();
}