public class Order2PromotionResultRelationTest extends AbstractPromotionServiceTest
AbstractOrderModel and PromotionResultModel.defaultLanguage, jaloSession| Constructor and Description |
|---|
Order2PromotionResultRelationTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testOrderPromotionResultRelationTest()
Tests the relation between
AbstractOrderModel and PromotionResultModel, and between
PromotionResultModel and AbstractPromotionActionModel. |
createCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionfinish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedpublic void setUp()
throws Exception
setUp in class AbstractPromotionServiceTestExceptionpublic void testOrderPromotionResultRelationTest()
throws CalculationException
AbstractOrderModel and PromotionResultModel, and between
PromotionResultModel and AbstractPromotionActionModel. See PRO-66 for more details. If
promotionsCachingStrategy bean is activated then instead getting promotionResults from db, data is obtained from
cache.
CalculationExceptionCopyright © 2017 SAP SE. All Rights Reserved.