function ConfigTest::testSetValidation
@covers ::set
      
    
File
- 
              core/tests/ Drupal/ Tests/ Core/ Config/ ConfigTest.php, line 262 
Class
- ConfigTest
- Tests the Config.
Namespace
Drupal\Tests\Core\ConfigCode
public function testSetValidation() {
  $this->expectException(ConfigValueException::class);
  $this->config
    ->set('testData', [
    'dot.key' => 1,
  ]);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
