Class DefaultCalculatePaymentTypeForChangeDatesStrategyTest
java.lang.Object
de.hybris.platform.travelfacades.booking.action.strategies.impl.DefaultCalculatePaymentTypeForChangeDatesStrategyTest
Unit Test for the implementation of
DefaultCalculatePaymentTypeForChangeDatesStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultCalculatePaymentTypeForChangeDatesStrategyTest
public DefaultCalculatePaymentTypeForChangeDatesStrategyTest()
-
-
Method Details
-
setUp
public void setUp() -
testCalculateForNullAccommodationReservationData
public void testCalculateForNullAccommodationReservationData() -
testCalculateForNullAccommodationAvailabilityResponse
public void testCalculateForNullAccommodationAvailabilityResponse() -
testCalculateForNullTotalToPay
public void testCalculateForNullTotalToPay() -
testCalculateForZeroActualOrderAmoutPaid
public void testCalculateForZeroActualOrderAmoutPaid() -
testCalculateForTotalAmountForActualOrderPaidWithSamePaymentType
public void testCalculateForTotalAmountForActualOrderPaidWithSamePaymentType() -
testCalculateForTotalAmountForActualOrderPaidWithPayablePaymentType
public void testCalculateForTotalAmountForActualOrderPaidWithPayablePaymentType() -
testCalculateForTotalAmountForActualOrderPaidWithRefundPaymentType
public void testCalculateForTotalAmountForActualOrderPaidWithRefundPaymentType() -
testCalculateForChangeDatePriceEqualsActualOrderPriceAndPartialPaymentForRefund
public void testCalculateForChangeDatePriceEqualsActualOrderPriceAndPartialPaymentForRefund() -
testCalculateForChangeDatePriceEqualsActualOrderPriceAndPartialPaymentForSame
public void testCalculateForChangeDatePriceEqualsActualOrderPriceAndPartialPaymentForSame() -
testCalculateForChangeDatePriceMoreThanActualOrderPriceAndPartialPaymentForPayable
public void testCalculateForChangeDatePriceMoreThanActualOrderPriceAndPartialPaymentForPayable() -
testCalculateForChangeDatePriceMoreThanActualOrderPriceAndPartialPaymentForRefund
public void testCalculateForChangeDatePriceMoreThanActualOrderPriceAndPartialPaymentForRefund() -
testCalculateForChangeDatePriceMoreThanActualOrderPriceAndPartialPaymentForSame
public void testCalculateForChangeDatePriceMoreThanActualOrderPriceAndPartialPaymentForSame() -
testCalculateForChangeDatePriceLessThanActualOrderPrice
public void testCalculateForChangeDatePriceLessThanActualOrderPrice()
-