Class ProductThresholdPriceDiscountPromotionTest

    • Constructor Detail

      • ProductThresholdPriceDiscountPromotionTest

        public ProductThresholdPriceDiscountPromotionTest()
    • Method Detail

      • setup

        public void setup()
                   throws java.lang.Exception
        HW1210-3411: 253 Euro, HW2310-1001: 29.90 Euro
        Throws:
        java.lang.Exception
      • shouldNotApplyPromotion

        public void shouldNotApplyPromotion()
                                     throws CalculationException
        Entry total 29.90d is less than threshold 100. Promotion should be not be applied
        Throws:
        CalculationException