public function testAllComments() { $settings = array('TheOnlyGroup' => array('Setting1' => true, 'SettingNoComment' => 42, 'MultiRow' => false)); $comments = array('TheOnlyGroup' => array('#' => "Just one group", 'Setting1' => " This setting sucks", 'MultiRow' => " Multi\n row\n comment")); $return = new ezcConfiguration($settings, $comments); $this->assertEquals($comments, $return->getAllComments()); }