public function ContainerAwarePluginManagerTest::test_getDefinition in Service Container 7
Same name and namespace in other branches
- 7.2 tests/src/Plugin/ContainerAwarePluginManagerTest.php \Drupal\Tests\service_container\Plugin\ContainerAwarePluginManagerTest::test_getDefinition()
@covers ::__construct() @covers ::getDefinition()
File
- tests/
src/ Plugin/ ContainerAwarePluginManagerTest.php, line 35 - Contains \Drupal\Tests\service_container\Plugin\ContainerAwarePluginManagerTest
Class
- ContainerAwarePluginManagerTest
- @coversDefaultClass \Drupal\service_container\Plugin\ContainerAwarePluginManager @group dic
Namespace
Drupal\Tests\service_container\PluginCode
public function test_getDefinition() {
$this
->assertEquals($this->containerDefinition['services']['service_container.controller.internal.block'], $this->controllerPluginManager
->getDefinition('block'), 'service_container.controller.internal.block definition matches.');
}