/** * Tests the offsetSet() method. */ public function testOffsetSet() { $bag = new ArrayAttributeBag('foobar_storageKey'); $bag['foo'] = 'bar'; $this->assertSame('bar', $bag->get('foo')); }
/** * Tests the offsetSet() method. */ public function testOffsetSet() { $bag = new ArrayAttributeBag('foobar_storageKey'); $bag['foo'] = 'bar'; $this->assertSame('bar', $bag->get('foo')); }