12 use \Magento\Weee\Model\Config;
25 public function testScopeConfigMethods(
$method,
$path, $configValue, $expectedValue)
27 $scopeConfigMock = $this->getMockForAbstractClass(\
Magento\Framework\
App\
Config\ScopeConfigInterface::class);
28 $scopeConfigMock->expects($this->any())
30 ->with(
$path, \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
null)
31 ->will($this->returnValue($configValue));
32 $scopeConfigMock->expects($this->any())
34 ->with(
$path, \
Magento\Store\Model\ScopeInterface::SCOPE_STORE,
null)
35 ->will($this->returnValue($configValue));
37 $taxData = $this->createMock(\
Magento\Tax\Helper\Data::class);
52 'getPriceDisplayType',
58 'getListPriceDisplayType',
64 'getSalesPriceDisplayType',
70 'getEmailPriceDisplayType',
const XML_PATH_FPT_DISPLAY_PRODUCT_LIST
const XML_PATH_FPT_DISPLAY_PRODUCT_VIEW
const XML_PATH_FPT_DISPLAY_SALES
const XML_PATH_FPT_INCLUDE_IN_SUBTOTAL
const XML_PATH_FPT_TAXABLE
dataProviderScopeConfigMethods()
const XML_PATH_FPT_ENABLED
const XML_PATH_FPT_DISPLAY_EMAIL