public function testCannotGetConfigForUnsupportedSlot() { $config = $this->createConfig(); $this->setExpectedException('InvalidArgumentException', 'Config slot "something" is not valid'); $config->get('adapters', 'something'); }