/** * @expectedException \InvalidArgumentException */ public function testOffsetSetError1() { $this->object->offsetSet('4', 'hi'); }
public function testOffsetSet() { $this->object->offsetSet('4A', array()); $this->assertEquals(array(), $this->object['4A']); }