Class OfferPricingInfoHandlerTest
java.lang.Object
de.hybris.platform.travelfacades.ancillary.search.handlers.impl.OfferPricingInfoHandlerTest
Unit Test class for OfferPricingInfoHandler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgiven : when ancillaries to be offered are available both at RouteLevel & transportOffering Level when : There are different products(of same category) available with multipleSector Then: For the category of product defined at RouteLevel, offer products which are common and available.voidgiven: Only one Ancillary type(category) available to offer on single sector journey.voidgiven: Only one Ancillary type(category) available to offer on multi-sector journey.
-
Constructor Details
-
OfferPricingInfoHandlerTest
public OfferPricingInfoHandlerTest()
-
-
Method Details
-
testPopulateForSingleAncillaryTpe
public void testPopulateForSingleAncillaryTpe()given: Only one Ancillary type(category) available to offer on single sector journey. When: There are different products available to offer Then: Offer products which belong to the category and available. -
testPopulateForSingleAncillaryTpeMultiSector
public void testPopulateForSingleAncillaryTpeMultiSector()given: Only one Ancillary type(category) available to offer on multi-sector journey. When: There are different products(of same category) available with multipleSector Then: The common products across the transportOfferings should be offered. -
testPopulateForMultipleAncillaryTpe
public void testPopulateForMultipleAncillaryTpe()given : when ancillaries to be offered are available both at RouteLevel & transportOffering Level when : There are different products(of same category) available with multipleSector Then: For the category of product defined at RouteLevel, offer products which are common and available. For the category of product defined at TransportOfferingLevel, offer products which are available.
-