public function ConfigNameTest::testCreateByTypeName in Update helper 8
Same name and namespace in other branches
- 2.x tests/src/Kernel/ConfigNameTest.php \Drupal\Tests\update_helper\Kernel\ConfigNameTest::testCreateByTypeName()
 
Test creation of class by type and name.
@dataProvider configNameDataProvider
Parameters
string $fullName: Full configuration name.
string $type: Configuration type.
string $name: Configuration name.
File
- tests/
src/ Kernel/ ConfigNameTest.php, line 55  
Class
- ConfigNameTest
 - Automated tests for ConfigName class.
 
Namespace
Drupal\Tests\update_helper\KernelCode
public function testCreateByTypeName($fullName, $type, $name) {
  $configName = ConfigName::createByTypeName($type, $name);
  $this
    ->assertEquals($fullName, $configName
    ->getFullName());
}