@UnitTest public class DefaultCommercePromotionFacadeTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultCommercePromotionFacadeTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testGetOrderPromotions() |
void |
testGetOrderPromotionsForGroup() |
void |
testGetOrderPromotionsForGroupCollection() |
void |
testGetOrderPromotionsForGroupWithNull() |
void |
testGetProductPromotions() |
void |
testGetProductPromotionsForEmptyGroupCollection() |
void |
testGetProductPromotionsForGroup() |
void |
testGetProductPromotionsForGroupCollection() |
void |
testGetProductPromotionsForGroupWithNull() |
void |
testGetProductPromotionsForNotExistingGroup() |
void |
testGetPromotion() |
void |
testGetPromotionForOptions() |
void |
testGetPromotionWithNullParameter() |
protected static java.lang.String GROUP_CODE
protected static java.lang.String PROMOTION_CODE
protected DefaultCommercePromotionFacade commercePromotionFacade
protected Converter<AbstractPromotionModel,PromotionData> promotionsConverter
protected ConfigurablePopulator<AbstractPromotionModel,PromotionData,PromotionOption> promotionConfiguredPopulator
protected CommercePromotionService commercePromotionService
protected PromotionsService promotionsService
protected ProductPromotionModel productPromotion
protected ProductPromotionModel productPromotionForGroup
protected OrderPromotionModel orderPromotion
protected OrderPromotionModel orderPromotionForGroup
protected java.util.List<ProductPromotionModel> productPromotionList
protected java.util.List<OrderPromotionModel> orderPromotionList
protected java.util.List<ProductPromotionModel> productPromotionForGroupList
protected java.util.List<OrderPromotionModel> orderPromotionForGroupList
protected PromotionData productPromotionData
protected PromotionData productPromotionForGroupData
protected PromotionData orderPromotionData
protected PromotionData orderPromotionForGroupData
protected java.util.List<java.lang.String> groupCodes
protected PromotionGroupModel promotionGroup
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void testGetProductPromotions()
public void testGetOrderPromotions()
public void testGetProductPromotionsForGroup()
public void testGetProductPromotionsForGroupWithNull()
public void testGetProductPromotionsForNotExistingGroup()
public void testGetProductPromotionsForGroupCollection()
public void testGetProductPromotionsForEmptyGroupCollection()
public void testGetOrderPromotionsForGroup()
public void testGetOrderPromotionsForGroupWithNull()
public void testGetOrderPromotionsForGroupCollection()
public void testGetPromotion()
public void testGetPromotionForOptions()
public void testGetPromotionWithNullParameter()
Copyright © 2018 SAP SE. All Rights Reserved.