public function testGetOrSetReturnsAndSetsDefaultSpecifiedValueAtOffsetIsNull() { $o = new Horde_Support_Array(array('foo' => null)); $this->assertEquals('bar', $o->getOrSet('foo', 'bar')); $this->assertTrue($o->offsetExists('foo')); $this->assertEquals('bar', $o->offsetGet('foo')); }