public class ProductPromotionsTest extends AbstractPromotionServiceTest
importServicejaloSession| Constructor and Description |
|---|
ProductPromotionsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testGetProductPromotions()
Tests the promotionsService.getProductPromotions(...)
for product "HW1210-3411", tests the size of it and each promotion code:
only one promotion in group1,
two promotions in group1 and group2,
four promotions in group1, group2, and group4.
and in the end, test the product which doesn't belong to any categories.
|
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 testGetProductPromotions()
Copyright © 2018 SAP SE. All Rights Reserved.