Class DefaultPromotionEngineResultServiceTest
- java.lang.Object
-
- de.hybris.platform.promotionengineservices.promotionengine.impl.DefaultPromotionEngineResultServiceTest
-
@UnitTest public class DefaultPromotionEngineResultServiceTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultPromotionEngineResultServiceTest()
-
Method Summary
-
-
-
Method Detail
-
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(java.lang.String uuid, java.lang.String type, java.lang.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
-
-