@UnitTest public class DefaultPromotionEngineResultServiceTest extends java.lang.Object
| Constructor and Description |
|---|
DefaultPromotionEngineResultServiceTest() |
public DefaultPromotionEngineResultServiceTest()
public void setUp()
public void testLegacyIsApplied()
public void testLegacyIsAppliedToOrder()
public void testLegacyApply()
public void testLegacyUndo()
public void testLegacyGetFired()
public void testLegacyGetCouldFire()
public void testLegacyGetConsumedCount()
public void testLegacyGetTotalDiscount()
public void testLegacyGetPotentialProductPromotions()
public void testLegacyGetPotentialOrderPromotions()
public void testLegacyGetFiredProductPromotions()
public void testLegacyGetFiredOrderPromotions()
public void testLegacyGetDescription()
public void testLegacyGetDescriptionPromotionResultNotPersisted()
public void testGetDescription()
throws RuleConverterException
RuleConverterExceptionpublic void shouldGeneratePromotionDescriptionWithoutRemovingUnresolvedPlaceholders()
throws RuleConverterException
RuleConverterExceptionpublic void shouldGeneratePromotionDescriptionWhenSomePlaceholderCannotBeResolved()
throws RuleConverterException
RuleConverterExceptionprotected RuleParameterData createRuleParameterData(java.lang.String uuid, java.lang.String type, java.lang.Object value)
public void testGetCouponCodeFromPromotion()
throws RuleConverterException
RuleConverterExceptionpublic void testGetEmptyCouponCodeFromPromotion()
throws RuleConverterException
RuleConverterExceptionpublic void testGetCouponCodeFromPromotionWhenNull()
throws RuleConverterException
RuleConverterExceptionCopyright © 2018 SAP SE. All Rights Reserved.