@UnitTest public class DefaultCommercePromotionRestrictionServiceTest extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected AbstractOrderModel |
abstractOrderModel |
protected AbstractPromotionModel |
abstractPromotionModel |
protected java.util.List<AbstractPromotionRestrictionModel> |
abstractPromotionRestrictionList |
protected AbstractPromotionRestrictionModel |
abstractPromotionRestrictionModel |
protected CartModel |
cartModel |
protected CommercePromotionRestrictionDao |
commercePromotionRestrictionDao |
protected DefaultCommercePromotionRestrictionService |
commercePromotionRestrictionService |
protected ModelService |
modelService |
protected OrderPromotionModel |
orderPromotionModel |
protected java.util.List<PromotionOrderRestrictionModel> |
promotionOrderRestrictionList |
protected PromotionOrderRestrictionModel |
promotionOrderRestrictionModel |
protected PromotionOrderRestrictionModel |
promotionOrderRestrictionModelImpl |
| Constructor and Description |
|---|
DefaultCommercePromotionRestrictionServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testAddOrderToRestrictionWithNotUniqueOrder() |
void |
testAddOrderToRestrictionWithUniqueOrder() |
void |
testGetPromotionOrderRestrictions() |
void |
testGetPromotionOrderRestrictionWithAmbiguousData() |
void |
testGetPromotionOrderRestrictionWithNotExistPromotion() |
void |
testGetPromotionOrderRestrictionWithNullParameter() |
void |
testGetPromotionRestrictions() |
void |
testGetPromotionRestrictionsWithNullParameter() |
protected AbstractPromotionModel abstractPromotionModel
protected OrderPromotionModel orderPromotionModel
protected CommercePromotionRestrictionDao commercePromotionRestrictionDao
protected PromotionOrderRestrictionModel promotionOrderRestrictionModel
protected AbstractPromotionRestrictionModel abstractPromotionRestrictionModel
protected AbstractOrderModel abstractOrderModel
protected CartModel cartModel
protected ModelService modelService
protected DefaultCommercePromotionRestrictionService commercePromotionRestrictionService
protected java.util.List<AbstractPromotionRestrictionModel> abstractPromotionRestrictionList
protected java.util.List<PromotionOrderRestrictionModel> promotionOrderRestrictionList
protected PromotionOrderRestrictionModel promotionOrderRestrictionModelImpl
public DefaultCommercePromotionRestrictionServiceTest()
public void setUp()
public void testGetPromotionRestrictionsWithNullParameter()
public void testGetPromotionOrderRestrictionWithNullParameter()
public void testGetPromotionOrderRestrictionWithNotExistPromotion()
public void testGetPromotionOrderRestrictionWithAmbiguousData()
public void testGetPromotionRestrictions()
public void testGetPromotionOrderRestrictions()
public void testAddOrderToRestrictionWithNotUniqueOrder()
public void testAddOrderToRestrictionWithUniqueOrder()
Copyright © 2018 SAP SE. All Rights Reserved.