Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 public function testGetDisplaySubtotalBoth()
 {
     $this->taxConfig->expects($this->once())->method('displayCartSubtotalBoth');
     $this->totalsObj->getDisplaySubtotalBoth();
 }