public function testQueryGroupParsing()
 {
     $queryGroup = $this->_result->getGroup('cat:1');
     $this->assertEquals(40, $queryGroup->getMatches());
     $this->assertEquals(22, $queryGroup->getNumFound());
     $docs = $queryGroup->getDocuments();
     $this->assertEquals('dummy5', $docs[1]->name);
 }
 public function testGetGroupInvalid()
 {
     $this->assertEquals(null, $this->_grouping->getGroup('invalidkey'));
 }