Class OriginDestinationOffersRequestHandlerTest
java.lang.Object
de.hybris.platform.travelfacades.ancillary.search.handlers.impl.OriginDestinationOffersRequestHandlerTest
Unit test class for OriginDestinationOffersRequestHandler.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidgiven: OfferRequestData for a multiSector has offerGroups of different types When: An ancillary offer Request is made Then: OrginDestination options are creates as, if the offerGroup code is configured at Route level, then one OrginDestination Option covering all sectors, if the offerGroup code is configured at TransportOffering level, then one OrginDestination Option for each transport offering.
-
Constructor Details
-
OriginDestinationOffersRequestHandlerTest
public OriginDestinationOffersRequestHandlerTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testPopulate
public void testPopulate()given: OfferRequestData for a multiSector has offerGroups of different types When: An ancillary offer Request is made Then: OrginDestination options are creates as, if the offerGroup code is configured at Route level, then one OrginDestination Option covering all sectors, if the offerGroup code is configured at TransportOffering level, then one OrginDestination Option for each transport offering.
-