public function testGetIncExcTaxLabel() { $flag = true; $text = "Incl. Tax"; $expected = " (Incl. Tax)"; $this->taxHelper->expects($this->once())->method('getIncExcText')->with($flag)->will($this->returnValue($text)); $this->assertEquals($expected, $this->totalsObj->getIncExcTaxLabel($flag)); }
public function testGetDisplaySubtotalBoth() { $this->taxConfig->expects($this->once())->method('displayCartSubtotalBoth'); $this->totalsObj->getDisplaySubtotalBoth(); }