function testSetField() { $arrayData = new ArrayData(array()); $arrayData->setField('d', 'Delta'); $this->assertTrue($arrayData->hasField('d')); $this->assertEquals('Delta', $arrayData->getField('d')); }