public function testCollect()
{
$group = new GroupMock();
$group->add($this->_paths['testClassTest']);
$this->report->group = $group;
$this->report->results['filters'] = array('lithium\\test\\filter\\Complexity' => array(array('FooObject' => $this->_metrics)));
$results = Complexity::collect($this->report->results['filters'][$this->_paths['complexity']]);
$expected = array($this->_paths['testClass'] => $this->_metrics);
$this->assertEqual($expected, $results);
}