public function ContainerTest::test_getDefinitions in Service Container 7.2
Same name and namespace in other branches
- 7 tests/src/DependencyInjection/ContainerTest.php \Drupal\Tests\service_container\DependencyInjection\ContainerTest::test_getDefinitions()
Tests that Container::getDefinitions() works properly. @covers ::getDefinitions()
File
- tests/
src/ DependencyInjection/ ContainerTest.php, line 73 - Contains \Drupal\Tests\service_container\DependencyInjection\ContainerTest
Class
- ContainerTest
- @coversDefaultClass \Drupal\service_container\DependencyInjection\Container @group dic
Namespace
Drupal\Tests\service_container\DependencyInjectionCode
public function test_getDefinitions() {
$this
->assertEquals($this->containerDefinition['services'], $this->container
->getDefinitions(), 'Container definition matches input.');
}