public function offsetGet($offset)
{
$this->initialize();
return isset($this->rows[$offset]) ? $this->rows[$offset] : null;
}
/** * @test */ public function offsetGetReturnsNullIfOffsetDoesNotExist() { $this->assertNull($this->queryResult->offsetGet('foo')); }