Class DefaultVoucherRedeemableCartValidationMethodHookTest
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.hook.impl.DefaultVoucherRedeemableCartValidationMethodHookTest
-
@UnitTest public class DefaultVoucherRedeemableCartValidationMethodHookTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultVoucherRedeemableCartValidationMethodHookTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetup()voidshouldAfterValidateCartCatchNonApplicableVoucher()voidshouldAfterValidateCartCatchNonReservableVoucher()voidshouldAfterValidateCartFailureHandleVouchersRedemption()voidshouldAfterValidateCartHandleCartWithNoAppliedVouchers()voidshouldAfterValidateCartHandleCartWithNullVoucherList()voidshouldAfterValidateCartHandleValidVoucher()
-
-
-
Method Detail
-
setup
public void setup()
-
shouldAfterValidateCartCatchNonReservableVoucher
public void shouldAfterValidateCartCatchNonReservableVoucher() throws JaloPriceFactoryException- Throws:
JaloPriceFactoryException
-
shouldAfterValidateCartCatchNonApplicableVoucher
public void shouldAfterValidateCartCatchNonApplicableVoucher() throws JaloPriceFactoryException- Throws:
JaloPriceFactoryException
-
shouldAfterValidateCartHandleValidVoucher
public void shouldAfterValidateCartHandleValidVoucher() throws JaloPriceFactoryException- Throws:
JaloPriceFactoryException
-
shouldAfterValidateCartFailureHandleVouchersRedemption
public void shouldAfterValidateCartFailureHandleVouchersRedemption() throws JaloPriceFactoryException- Throws:
JaloPriceFactoryException
-
shouldAfterValidateCartHandleCartWithNoAppliedVouchers
public void shouldAfterValidateCartHandleCartWithNoAppliedVouchers() throws JaloPriceFactoryException- Throws:
JaloPriceFactoryException
-
shouldAfterValidateCartHandleCartWithNullVoucherList
public void shouldAfterValidateCartHandleCartWithNullVoucherList() throws JaloPriceFactoryException- Throws:
JaloPriceFactoryException
-
-