public function testFirstNoResults() { $result = new Result(array(), 0); $doc = $result->first(); $this->assertFalse($doc); }