/** * @expectedException Mage_Core_Exception * @return void */ public function testOffsetSet() { $this->object->offsetSet('testoffset', 'testvalue'); }