示例#1
0
 public function testGetOldValue()
 {
     $this->_model->setPath(self::SAMPLE_CONFIG_PATH);
     $this->assertEquals(self::SAMPLE_VALUE, $this->_model->getOldValue());
     $this->_model->setWebsiteCode('base');
     $this->assertEquals(self::SAMPLE_VALUE, $this->_model->getOldValue());
     $this->_model->setStoreCode('default');
     $this->assertEquals(self::SAMPLE_VALUE, $this->_model->getOldValue());
 }