public function offsetSet($offset, $value)
{
$this->initialize();
$this->queryResult[$offset] = $value;
}
/** * @test */ public function offsetSetWorksAsExpected() { $this->queryResult->offsetSet(0, ['foo' => 'FooOverridden', 'bar' => 'BarOverridden']); $this->assertEquals(['foo' => 'FooOverridden', 'bar' => 'BarOverridden'], $this->queryResult->offsetGet(0)); }