public function testHash() { $result = $this->getTestResult(); $doc = $result->hash('id', 'age'); $this->assertSame(array(6 => 35, 7 => 19, 3 => 43, 9 => 37, 1 => 21), $doc); }