/** * @return string */ public function getTestMode() { /** @noinspection IsEmptyFunctionUsageInspection */ if (empty($value = $this->getData('test_mode'))) { $value = $this->_config->getTestMode(); $this->setData('test_mode', $value); } return $value; }