Class CxPromotionActionIntegrationTest

All Implemented Interfaces:
JaloSessionHolder

@IntegrationTest public class CxPromotionActionIntegrationTest extends ServicelayerTest
  • Constructor Details

    • CxPromotionActionIntegrationTest

      public CxPromotionActionIntegrationTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      Exception
    • publishPromotions

      protected void publishPromotions(String... codes) throws RuleEngineServiceException
      Throws:
      RuleEngineServiceException
    • getVariation

      protected CxVariationModel getVariation()
    • getPromotionRule

      protected PromotionSourceRuleModel getPromotionRule(String code)
    • createAction

      protected CxPromotionActionModel createAction(String code, String promotionId)
    • executeTest

      public void executeTest(String promotionId, RuleStatus expectedStatus)
    • testPublishedEmpty

      public void testPublishedEmpty()
    • testPublishedAware

      public void testPublishedAware()
    • testPublishedComplex

      public void testPublishedComplex()
    • testPublishedComplexAware

      public void testPublishedComplexAware()
    • testUnpublishedEmpty

      public void testUnpublishedEmpty()
    • testUnpublishedAware

      public void testUnpublishedAware()
    • testUnpublishedComplex

      public void testUnpublishedComplex()
    • testUnpublishedComplexAware

      public void testUnpublishedComplexAware()