Class DefaultPromotionActionServiceTest
java.lang.Object
de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionActionServiceTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()voidvoidtests that a promotionResultModel gets created with the default valuesvoidtests that if there is an existing promotionResultModel created by the same rule, the existing one is returnedvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
DefaultPromotionActionServiceTest
public DefaultPromotionActionServiceTest()
-
-
Method Details
-
setUp
public void setUp() -
testCreatePromotionResult
public void testCreatePromotionResult()tests that a promotionResultModel gets created with the default values -
testCreatePromotionResultForExistingPromotionResult
public void testCreatePromotionResultForExistingPromotionResult()tests that if there is an existing promotionResultModel created by the same rule, the existing one is returned -
testTryToGetOrderEntryFromImproperAction
public void testTryToGetOrderEntryFromImproperAction() -
testTryToGetOrderFromAction
public void testTryToGetOrderFromAction() -
testCreatePromotionResultSetVersion
public void testCreatePromotionResultSetVersion() -
testCreatePromotionResultSetModuleVersion
public void testCreatePromotionResultSetModuleVersion() -
testCreatePromotionResultSetRulesModuleName
public void testCreatePromotionResultSetRulesModuleName() -
testCreatePromotionResultSetFiredMessage
public void testCreatePromotionResultSetFiredMessage() -
shouldUpdateAndPersistPotentialPromotionFiredMessage
- Throws:
Exception
-