Beispiel #1
0
 public function testGetBaseSubtotalInclTax()
 {
     $itemMock = $this->getMock('Magento\\Framework\\Object', ['getBaseTaxAmount', 'getBaseDiscountTaxCompensation', 'getBaseRowTotal'], [], '', false);
     $itemMock->expects($this->once())->method('getBaseTaxAmount');
     $itemMock->expects($this->once())->method('getBaseDiscountTaxCompensation');
     $itemMock->expects($this->once())->method('getBaseRowTotal');
     $this->_helper->getBaseSubtotalInclTax($itemMock);
 }
 /**
  * Display susbtotal price including tax
  *
  * @param Item $item
  * @return string
  */
 public function displaySubtotalInclTax($item)
 {
     return $this->displayPrices($this->_checkoutHelper->getBaseSubtotalInclTax($item), $this->_checkoutHelper->getSubtotalInclTax($item));
 }