public function ExtensionListTest::testGetName in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\ExtensionListTest::testGetName()
- 9 core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php \Drupal\Tests\Core\Extension\ExtensionListTest::testGetName()
@covers ::getName
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php, line 42
Class
- ExtensionListTest
- @coversDefaultClass \Drupal\Core\Extension\ExtensionList @group Extension
Namespace
Drupal\Tests\Core\ExtensionCode
public function testGetName() {
$test_extension_list = $this
->setupTestExtensionList();
$this
->assertEquals('test name', $test_extension_list
->getName('test_name'));
}