/** * @test */ public function setNetSetsNet() { $this->service->setNet(1234.56); $this->assertSame(1234.56, $this->service->getNet()); }
/** * @test */ public function getNetInitiallyReturnsNetSetIndirectlyByConstructor() { $net = $this->discount / ($this->taxClass->getCalc() + 1); $this->assertSame($net, $this->coupon->getNet()); }