Class DefaultPromotionEngineResultServiceTest

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

@UnitTest public class DefaultPromotionEngineResultServiceTest extends Object
  • Constructor Details

    • DefaultPromotionEngineResultServiceTest

      public DefaultPromotionEngineResultServiceTest()
  • Method Details

    • setUp

      public void setUp()
    • testLegacyIsApplied

      public void testLegacyIsApplied()
    • testLegacyIsAppliedToOrder

      public void testLegacyIsAppliedToOrder()
    • testLegacyApply

      public void testLegacyApply()
    • testLegacyUndo

      public void testLegacyUndo()
    • testLegacyGetFired

      public void testLegacyGetFired()
    • testLegacyGetCouldFire

      public void testLegacyGetCouldFire()
    • testLegacyGetConsumedCount

      public void testLegacyGetConsumedCount()
    • testLegacyGetTotalDiscount

      public void testLegacyGetTotalDiscount()
    • testLegacyGetPotentialProductPromotions

      public void testLegacyGetPotentialProductPromotions()
    • testLegacyGetPotentialOrderPromotions

      public void testLegacyGetPotentialOrderPromotions()
    • testLegacyGetFiredProductPromotions

      public void testLegacyGetFiredProductPromotions()
    • testLegacyGetFiredOrderPromotions

      public void testLegacyGetFiredOrderPromotions()
    • testLegacyGetDescription

      public void testLegacyGetDescription()
    • testLegacyGetDescriptionPromotionResultNotPersisted

      public void testLegacyGetDescriptionPromotionResultNotPersisted()
    • testGetDescription

      public void testGetDescription() throws RuleConverterException
      Throws:
      RuleConverterException
    • shouldGeneratePromotionDescriptionWithoutRemovingUnresolvedPlaceholders

      public void shouldGeneratePromotionDescriptionWithoutRemovingUnresolvedPlaceholders() throws RuleConverterException
      Throws:
      RuleConverterException
    • shouldGeneratePromotionDescriptionWhenSomePlaceholderCannotBeResolved

      public void shouldGeneratePromotionDescriptionWhenSomePlaceholderCannotBeResolved() throws RuleConverterException
      Throws:
      RuleConverterException
    • createRuleParameterData

      protected RuleParameterData createRuleParameterData(String uuid, String type, Object value)
    • testGetCouponCodeFromPromotion

      public void testGetCouponCodeFromPromotion() throws RuleConverterException
      Throws:
      RuleConverterException
    • testGetEmptyCouponCodeFromPromotion

      public void testGetEmptyCouponCodeFromPromotion() throws RuleConverterException
      Throws:
      RuleConverterException
    • testGetCouponCodeFromPromotionWhenNull

      public void testGetCouponCodeFromPromotionWhenNull() throws RuleConverterException
      Throws:
      RuleConverterException