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