@IntegrationTest public class Order2PromotionResultRelationTest extends AbstractPromotionServiceTest
AbstractOrderModel and PromotionResultModel.importServicejaloSession| 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, 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 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 © 2018 SAP SE. All Rights Reserved.