/**
  * @param QuoteProductOffer[] $offers
  * @param int $type
  * @param bool $expected
  * @dataProvider hasQuoteProductOfferByPriceTypeDataProvider
  */
 public function testHasQuoteProductOfferByPriceType(array $offers, $type, $expected)
 {
     $quoteProduct = new QuoteProduct();
     foreach ($offers as $offer) {
         $quoteProduct->addQuoteProductOffer($offer);
     }
     $this->assertSame($expected, $quoteProduct->hasQuoteProductOfferByPriceType($type));
 }