public function testGetNameFixed() { $this->productQuantityDiscount->setType(PromotionType::fixed()); $this->productQuantityDiscount->setQuantity(10); $this->productQuantityDiscount->setValue(500); $this->assertSame('Buy 10 or more for $5.00 off', $this->productQuantityDiscount->getName()); }