Пример #1
0
 /**
  * @covers ::set
  * @expectedException \Drupal\Core\Config\ImmutableConfigException
  * @expectedExceptionMessage Can not set values on immutable configuration test:name. Use \Drupal\Core\Config\ConfigFactoryInterface::getEditable() to retrieve a mutable configuration object
  */
 public function testSet()
 {
     $this->config->set('name', 'value');
 }