public class PromotionWithVoucherTest extends AbstractPromotionServiceTest
defaultLanguage, jaloSession| Constructor and Description |
|---|
PromotionWithVoucherTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testPromotionWithProductRestrictionVoucher()
Tests promotion with voucher that has product restriction.
|
void |
testPromotionWithVoucher()
Puts two products in the cart, applies one 10% product promotion, and redeems
1.
|
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
throws Exception
setUp in class AbstractPromotionServiceTestExceptionpublic void testPromotionWithVoucher()
throws JaloPriceFactoryException
JaloPriceFactoryExceptionpublic void testPromotionWithProductRestrictionVoucher()
throws CalculationException,
JaloPriceFactoryException
CalculationExceptionJaloPriceFactoryExceptionCopyright © 2017 SAP SE. All Rights Reserved.