Class DefaultCommercePromotionFacadeTest
java.lang.Object
de.hybris.platform.commercefacades.promotion.impl.DefaultCommercePromotionFacadeTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DefaultCommercePromotionFacadeprotected CommercePromotionServiceprotected static Stringprotected OrderPromotionModelprotected PromotionDataprotected OrderPromotionModelprotected PromotionDataprotected List<OrderPromotionModel>protected List<OrderPromotionModel>protected ProductPromotionModelprotected PromotionDataprotected ProductPromotionModelprotected PromotionDataprotected List<ProductPromotionModel>protected List<ProductPromotionModel>protected static Stringprotected PromotionGroupModelprotected Converter<AbstractPromotionModel,PromotionData> protected PromotionsService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
GROUP_CODE
-
PROMOTION_CODE
-
commercePromotionFacade
-
promotionsConverter
-
promotionConfiguredPopulator
@Mock protected ConfigurablePopulator<AbstractPromotionModel,PromotionData, promotionConfiguredPopulatorPromotionOption> -
commercePromotionService
-
promotionsService
-
productPromotion
-
productPromotionForGroup
-
orderPromotion
-
orderPromotionForGroup
-
productPromotionList
-
orderPromotionList
-
productPromotionForGroupList
-
orderPromotionForGroupList
-
productPromotionData
-
productPromotionForGroupData
-
orderPromotionData
-
orderPromotionForGroupData
-
groupCodes
-
promotionGroup
-
-
Constructor Details
-
DefaultCommercePromotionFacadeTest
public DefaultCommercePromotionFacadeTest()
-
-
Method Details
-
setUp
- Throws:
Exception
-
testGetProductPromotions
public void testGetProductPromotions() -
testGetOrderPromotions
public void testGetOrderPromotions() -
testGetProductPromotionsForGroup
public void testGetProductPromotionsForGroup() -
testGetProductPromotionsForGroupWithNull
public void testGetProductPromotionsForGroupWithNull() -
testGetProductPromotionsForNotExistingGroup
public void testGetProductPromotionsForNotExistingGroup() -
testGetProductPromotionsForGroupCollection
public void testGetProductPromotionsForGroupCollection() -
testGetProductPromotionsForEmptyGroupCollection
public void testGetProductPromotionsForEmptyGroupCollection() -
testGetOrderPromotionsForGroup
public void testGetOrderPromotionsForGroup() -
testGetOrderPromotionsForGroupWithNull
public void testGetOrderPromotionsForGroupWithNull() -
testGetOrderPromotionsForGroupCollection
public void testGetOrderPromotionsForGroupCollection() -
testGetPromotion
public void testGetPromotion() -
testGetPromotionForOptions
public void testGetPromotionForOptions() -
testGetPromotionWithNullParameter
public void testGetPromotionWithNullParameter()
-