Example #1
0
 /**
  * @test
  */
 public function setTaxSetsTax()
 {
     $this->service->setTax(1234.56);
     $this->assertSame(1234.56, $this->service->getTax());
 }
Example #2
0
 /**
  * @test
  */
 public function getTaxInitiallyReturnsTaxSetIndirectlyByConstructor()
 {
     $tax = $this->discount - $this->discount / ($this->taxClass->getCalc() + 1);
     $this->assertSame($tax, $this->coupon->getTax());
 }