public function testGetUnitPriceWithExact() { $this->promotion->setType(PromotionType::exact()); $this->promotion->setValue(20); $this->assertSame(20, $this->promotion->getUnitPrice(1000)); }
public function testGetUnitPriceWithExact() { $this->promotion->setType(PromotionType::exact()); $this->promotion->setValue(20); $this->assertSame(20, $this->promotion->getUnitPrice(1000)); }