public class PromotionWithVoucherTest extends AbstractPromotionServiceTest
importServicejaloSession| 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.
|
void |
testUnsavedCartEntryVsJaloCalculate() |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic void setUp()
throws java.lang.Exception
setUp in class AbstractPromotionServiceTestjava.lang.Exceptionpublic void testUnsavedCartEntryVsJaloCalculate()
throws JaloPriceFactoryException
JaloPriceFactoryExceptionpublic void testPromotionWithVoucher()
throws JaloPriceFactoryException
JaloPriceFactoryExceptionpublic void testPromotionWithProductRestrictionVoucher()
throws CalculationException,
JaloPriceFactoryException
Copyright © 2018 SAP SE. All Rights Reserved.