@UnitTest public class DefaultPromotionActionServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultPromotionActionServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
shouldUpdateAndPersistPotentialPromotionFiredMessage() |
void |
testCreatePromotionResult()
tests that a promotionResultModel gets created with the default values
|
void |
testCreatePromotionResultForExistingPromotionResult()
tests that if there is an existing promotionResultModel created by the same rule, the existing one is returned
|
void |
testCreatePromotionResultSetFiredMessage() |
void |
testCreatePromotionResultSetModuleVersion() |
void |
testCreatePromotionResultSetRulesModuleName() |
void |
testCreatePromotionResultSetVersion() |
void |
testTryToGetOrderEntryFromImproperAction() |
void |
testTryToGetOrderFromAction() |
public void setUp()
public void testCreatePromotionResult()
public void testCreatePromotionResultForExistingPromotionResult()
public void testTryToGetOrderEntryFromImproperAction()
public void testTryToGetOrderFromAction()
public void testCreatePromotionResultSetVersion()
public void testCreatePromotionResultSetModuleVersion()
public void testCreatePromotionResultSetRulesModuleName()
public void testCreatePromotionResultSetFiredMessage()
public void shouldUpdateAndPersistPotentialPromotionFiredMessage()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2018 SAP SE. All Rights Reserved.