@Before
  public void setup() {
    insuranceCart2QuoteListingPopulator = new InsuranceCart2QuoteListingPopulator();
    MockitoAnnotations.initMocks(this);

    quoteListingData = new InsuranceQuoteListingData();
    cartData = new CartData();
    final PriceData priceData = new PriceData();
    priceData.setFormattedValue(testFormattedValue);
    cartData.setTotalPrice(priceData);
    cartData.setCode(testCartCode);

    final List<OrderEntryData> entries = new ArrayList<>();
    final OrderEntryData orderEntryData = new OrderEntryData();
    final ProductData productData = new ProductData();
    productData.setName(testProductName);
    productData.setImages(imageDataList);
    orderEntryData.setProduct(productData);
    entries.add(orderEntryData);
    cartData.setEntries(entries);
    final SubscriptionPricePlanData pricePlanData = new SubscriptionPricePlanData();
    productData.setPrice(pricePlanData);

    quoteData = new InsuranceQuoteData();
    cartData.setInsuranceQuote(quoteData);
    quoteData.setFormattedExpiryDate(testQuoteFormattedExpiryDate);
  }
  @Override
  public PriceData create(
      final PriceDataType priceType, final BigDecimal value, final CurrencyModel currency) {
    Assert.notNull(priceType, "Parameter priceType cannot be null.");
    Assert.notNull(value, "Parameter value cannot be null.");
    Assert.notNull(currency, "Parameter currency cannot be null.");

    final PriceData priceData = createPriceData();

    priceData.setPriceType(priceType);
    priceData.setValue(value);
    priceData.setCurrencyIso(currency.getIsocode());
    priceData.setFormattedValue(formatPrice(value, currency));

    return priceData;
  }