public function offsetSet($offset, $value) { $this->data[$offset] = $value; }
/** * Test * * @return void */ public function testOffsetSet() { $this->object->offsetSet('k', 'v'); $this->assertEquals('v', $this->object->getData('k')); }