Пример #1
0
 /**
  * @test
  */
 public function setNetSetsNet()
 {
     $this->service->setNet(1234.56);
     $this->assertSame(1234.56, $this->service->getNet());
 }
Пример #2
0
 /**
  * @test
  */
 public function getNetInitiallyReturnsNetSetIndirectlyByConstructor()
 {
     $net = $this->discount / ($this->taxClass->getCalc() + 1);
     $this->assertSame($net, $this->coupon->getNet());
 }