public function testGetProductWeeeAttributesForDisplay() { $store = $this->getMock('\\Magento\\Store\\Model\\Store', [], [], '', false); $this->product->expects($this->any())->method('getStore')->will($this->returnValue($store)); $this->helperData->getProductWeeeAttributesForDisplay($this->product); }
/** * Get Weee attributes for display * * @return \Magento\Framework\DataObject[] */ protected function getWeeeAttributesForDisplay() { $product = $this->getSaleableItem(); return $this->weeeHelper->getProductWeeeAttributesForDisplay($product); }