Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 /**
  * Get Weee attributes for display
  *
  * @return \Magento\Framework\DataObject[]
  */
 protected function getWeeeAttributesForDisplay()
 {
     $product = $this->getSaleableItem();
     return $this->weeeHelper->getProductWeeeAttributesForDisplay($product);
 }