Class OriginDestinationOffersRequestHandlerTest

java.lang.Object
de.hybris.platform.travelfacades.ancillary.search.handlers.impl.OriginDestinationOffersRequestHandlerTest

@UnitTest public class OriginDestinationOffersRequestHandlerTest extends Object
Unit test class for OriginDestinationOffersRequestHandler.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OriginDestinationOffersRequestHandlerTest

      public OriginDestinationOffersRequestHandlerTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      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.