public function testUpdateData() { $this->configurationModel->addData('new_key', 'value1'); $this->assertEquals('value1', $this->configurationModel->getData('new_key')); $this->configurationModel->updateData('new_key', 'value2'); $this->assertEquals('value2', $this->configurationModel->getData('new_key')); }