Class PromotionOrderEntryAdjustActionTest

    • Constructor Detail

      • PromotionOrderEntryAdjustActionTest

        public PromotionOrderEntryAdjustActionTest()
    • Method Detail

      • testPromotionOrderEntryAdjustAction

        public void testPromotionOrderEntryAdjustAction()
                                                 throws CalculationException
        Tests PromotionOrderEntryAdjustAction with the same product in different cart entries.
        • adds one product1 in entry0, and one product2 in entry1,
        • adds another product1 in entry2, and product2 in entry3,
        • product1 has fixed price promotion(10 Euro), and product2 has percent promotion(10%).
        • tests each entry should have the discount, instead of the whole discount in the first entry.
        Throws:
        CalculationException