/** * @Given /^(this coupon) can be used twice per customer$/ */ public function thisCouponCanBeUsedTwicePerCustomer(PromotionCouponInterface $coupon) { $coupon->setPerCustomerUsageLimit(2); $this->objectManager->flush(); }