public function ConfigTest::testValidateNameException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/Config/ConfigTest.php \Drupal\Tests\Core\Config\ConfigTest::testValidateNameException()
@covers ::validateName @expectedException \Drupal\Core\Config\ConfigNameException @dataProvider validateNameProvider
File
- core/
tests/ Drupal/ Tests/ Core/ Config/ ConfigTest.php, line 394 - Contains \Drupal\Tests\Core\Config\ConfigTest.
Class
- ConfigTest
- Tests the Config.
Namespace
Drupal\Tests\Core\ConfigCode
public function testValidateNameException($name, $exception_message) {
$this
->setExpectedException('\\Drupal\\Core\\Config\\ConfigNameException', $exception_message);
$this->config
->validateName($name);
}