Class ReservationTotalFareHandlerTest

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

@UnitTest public class ReservationTotalFareHandlerTest extends Object
Unit test class for ReservationTotalFareHandler.
  • Constructor Details

    • ReservationTotalFareHandlerTest

      public ReservationTotalFareHandlerTest()
  • Method Details

    • setUp

      public void setUp()
    • testPurchaseFlow

      public void testPurchaseFlow()
      given: CartModel with selected products When: in Purchase flow Then: calculated total prices of the cart is set in ReservationData.totalFare.
    • testAmendmentFlow

      public void testAmendmentFlow()
      given: CartModel with selected products When: in Amendment flow Then: calculated extra amount to pay is set in ReservationData.totalToPay.