Class DefaultVoucherFacadeTest
java.lang.Object
de.hybris.platform.commercefacades.voucher.impl.DefaultVoucherFacadeTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultVoucherFacadeTest
public DefaultVoucherFacadeTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testCheckVoucherCode
public void testCheckVoucherCode() -
testGetVoucher
- Throws:
VoucherOperationException
-
testGetVoucherForNotExistingVoucher
- Throws:
VoucherOperationException
-
testGetVoucherWithNullParam
- Throws:
VoucherOperationException
-
testGetVouchersForCart
public void testGetVouchersForCart() -
testApplyVoucher
-
testApplyVoucherFail
-
testApplyRestrictedVoucherFail
public void testApplyRestrictedVoucherFail() throws JaloPriceFactoryException, VoucherOperationException -
testApplyVoucherWhenTotalPriceExceeded
public void testApplyVoucherWhenTotalPriceExceeded() throws JaloPriceFactoryException, VoucherOperationException -
testApplyVoucherWithNullParam
- Throws:
VoucherOperationException
-
testApplyVoucherForNotExistingVoucher
- Throws:
VoucherOperationException
-
testReleaseVoucher
-
testReleaseVoucherWithNullParam
- Throws:
VoucherOperationException
-
testReleaseVoucherForNotExistingVoucher
- Throws:
VoucherOperationException
-