public function testSettingsNames2() { $settings = array(); $comments = array(); $configuration = new ezcConfiguration($settings, $comments); try { $configuration->getSettingNames('TheOnlyGroup'); $this->fail("Expected exception not thrown"); } catch (ezcConfigurationUnknownGroupException $e) { $this->assertEquals("The settings group 'TheOnlyGroup' does not exist.", $e->getMessage()); } }