public function testCannotSetConfigForAll()
{
$config = $this->createConfig();
$this->setExpectedException('InvalidArgumentException', 'Config slot "' . Config::CONFIG_ALL . '" is not valid for setting "my_key"');
$config->set('my_key', '/root', Config::CONFIG_ALL);
}