@UnitTest public class DefaultCouponFacadeTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COUPON_CODE |
static java.lang.String |
COUPON_ID |
| Constructor and Description |
|---|
DefaultCouponFacadeTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testApplyVoucher() |
void |
testApplyVoucherNoCart() |
void |
testApplyVoucherNullArg() |
void |
testCheckVoucherCode() |
void |
testCheckVoucherCodeNullArg() |
void |
testGetCouponDetails() |
void |
testGetCouponDetailsNullArg() |
void |
testGetVouchersForCart() |
void |
testGetVouchersForCartEmptyList() |
void |
testGetVouchersForCartNoCart() |
void |
testReleaseVoucher() |
void |
testReleaseVoucherNoCart() |
void |
testReleaseVoucherNullCode() |
public static final java.lang.String COUPON_CODE
public static final java.lang.String COUPON_ID
public void setUp()
public void testApplyVoucherNullArg()
throws VoucherOperationException
VoucherOperationExceptionpublic void testApplyVoucherNoCart()
throws VoucherOperationException
VoucherOperationExceptionpublic void testApplyVoucher()
throws VoucherOperationException
VoucherOperationExceptionpublic void testReleaseVoucherNullCode()
throws VoucherOperationException
VoucherOperationExceptionpublic void testReleaseVoucherNoCart()
throws VoucherOperationException
VoucherOperationExceptionpublic void testReleaseVoucher()
throws VoucherOperationException
VoucherOperationExceptionpublic void testGetVouchersForCartNoCart()
public void testGetVouchersForCartEmptyList()
public void testGetVouchersForCart()
public void testCheckVoucherCodeNullArg()
public void testCheckVoucherCode()
public void testGetCouponDetailsNullArg()
throws VoucherOperationException
VoucherOperationExceptionpublic void testGetCouponDetails()
throws VoucherOperationException
VoucherOperationExceptionCopyright © 2018 SAP SE. All Rights Reserved.