public function PhpArrayContainerTest::setUp in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest::setUp()
Overrides ContainerTest::setUp
File
- core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ PhpArrayContainerTest.php, line 21 - Contains \Drupal\Tests\Component\DependencyInjection\PhpArrayContainerTest.
Class
- PhpArrayContainerTest
- @coversDefaultClass \Drupal\Component\DependencyInjection\PhpArrayContainer @group DependencyInjection
Namespace
Drupal\Tests\Component\DependencyInjectionCode
public function setUp() {
$this->machineFormat = FALSE;
$this->containerClass = '\\Drupal\\Component\\DependencyInjection\\PhpArrayContainer';
$this->containerDefinition = $this
->getMockContainerDefinition();
$this->container = new $this->containerClass($this->containerDefinition);
}