You are here

protected function LegacyDrupal7Test::setUp in Service Container 7

Same name and namespace in other branches
  1. 8 tests/src/Legacy/LegacyDrupal7Test.php \Drupal\Tests\service_container\Legacy\LegacyDrupal7Test::setUp()
  2. 7.2 tests/src/Legacy/LegacyDrupal7Test.php \Drupal\Tests\service_container\Legacy\LegacyDrupal7Test::setUp()

File

tests/src/Legacy/LegacyDrupal7Test.php, line 26
Contains \Drupal\Tests\service_container\Legacy\LegacyDrupal7Test.

Class

LegacyDrupal7Test
@coversDefaultClass \Drupal\service_container\Legacy\Drupal7

Namespace

Drupal\Tests\service_container\Legacy

Code

protected function setUp() {
  parent::setUp();
  $this->drupal7_service = new Drupal7();
}