function ExtensionListTest::testGetName
@covers ::getName
File
-
core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionListTest.php, line 42
Class
- ExtensionListTest
- @coversDefaultClass \Drupal\Core\Extension\ExtensionList[[api-linebreak]] @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'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.