Class RuleSubsetOrderEntryPercentageDiscountRAOActionUnitTest

java.lang.Object
de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleSubsetProductActionUnitTest
de.hybris.platform.ruleengineservices.rule.evaluation.actions.impl.RuleSubsetOrderEntryPercentageDiscountRAOActionUnitTest

@UnitTest public class RuleSubsetOrderEntryPercentageDiscountRAOActionUnitTest extends AbstractRuleSubsetProductActionUnitTest
  • Constructor Details

    • RuleSubsetOrderEntryPercentageDiscountRAOActionUnitTest

      public RuleSubsetOrderEntryPercentageDiscountRAOActionUnitTest()
  • Method Details

    • setUp

      public void setUp()
    • testPerformActionInternalWhenCurrencyDiff

      public void testPerformActionInternalWhenCurrencyDiff()
      Selected currency is not the same as the CurrencyIsoCode of the Cart
    • testPerformActionInternalWhenThresholdNotReachedAndConsumptionDisabled

      public void testPerformActionInternalWhenThresholdNotReachedAndConsumptionDisabled()
      When the container's total value has not reached the input discount threshold and Consumption is not enabled
    • testPerformActionInternalWhenThresholdReachedAndConsumptionEnabled

      public void testPerformActionInternalWhenThresholdReachedAndConsumptionEnabled()
      When the container's total value has reached the input discount threshold and Consumption is enabled
    • testgetEntriesDiscountDistributeStrategyWhenPercentage

      public void testgetEntriesDiscountDistributeStrategyWhenPercentage()
      When the getEntriesDiscountDistributeStrategy method is called by the subset percentage discount class