Class DefaultPromotionActionServiceTest

java.lang.Object
de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionActionServiceTest

@UnitTest public class DefaultPromotionActionServiceTest extends Object
  • 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

      public void shouldUpdateAndPersistPotentialPromotionFiredMessage() throws Exception
      Throws:
      Exception