Class ReservationItineraryPricingInfoHandlerTest

java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.ReservationItineraryPricingInfoHandlerTest

@UnitTest public class ReservationItineraryPricingInfoHandlerTest extends Object
Unit test class for ReservationItineraryPricingInfoHandler.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    given: Cart with FareProducts but no reservationItems when: population of reservationData from cart is initiated then: itinerary prices are not populated for respective travelers are set in ReservationItineraryPricingInfoData.
    void
    given: Cart with FareProducts but no reservationPricingInfo when: population of reservationData from cart is initiated then: itinerary prices are not populated for respective travelers are set in ReservationItineraryPricingInfoData.
    void
    given: Cart with FareProducts when: population of reservationData from cart is initiated then: itinerary prices for the fares for respective travelers are set in ReservationItineraryPricingInfoData.

    Methods inherited from class java.lang.Object

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

    • ReservationItineraryPricingInfoHandlerTest

      public ReservationItineraryPricingInfoHandlerTest()
  • Method Details

    • testPopulateWithFareProducts

      public void testPopulateWithFareProducts()
      given: Cart with FareProducts when: population of reservationData from cart is initiated then: itinerary prices for the fares for respective travelers are set in ReservationItineraryPricingInfoData.
    • testNoReservationPricingInfo

      public void testNoReservationPricingInfo()
      given: Cart with FareProducts but no reservationPricingInfo when: population of reservationData from cart is initiated then: itinerary prices are not populated for respective travelers are set in ReservationItineraryPricingInfoData.
    • testNoReservationItems

      public void testNoReservationItems()
      given: Cart with FareProducts but no reservationItems when: population of reservationData from cart is initiated then: itinerary prices are not populated for respective travelers are set in ReservationItineraryPricingInfoData.