public function testQuantityNoInteger()
 {
     $this->setExpectedException("InvalidArgumentException");
     OfferAssertion::quantityInStock(50.1);
 }
 /**
  * Validate Offer model when it is used to update a Bol offer's stock
  * @param Offer $offer
  */
 public function validateStockUpdate(Offer $offer)
 {
     Assert::id($offer->getId());
     Assert::quantityInStock($offer->getQuantityInStock());
 }