Exemplo n.º 1
0
 /**
  * Prepare backend config for test
  *
  * @param string|null|false $config
  */
 private function configurationCountryCodePrepareConfig($config)
 {
     $this->scopeDefiner->expects($this->once())->method('getScope')->willReturn(self::SCOPE);
     $this->backendConfig->expects($this->once())->method('setData')->with(self::SCOPE, self::SCOPE_ID);
     $this->backendConfig->expects($this->once())->method('getConfigDataValue')->with(\Magento\Paypal\Block\Adminhtml\System\Config\Field\Country::FIELD_CONFIG_PATH)->willReturn($config);
 }