Class ProductFixedPricePromotionTest

    • Constructor Detail

      • ProductFixedPricePromotionTest

        public ProductFixedPricePromotionTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Overrides:
        setUp in class AbstractPromotionTest
        Throws:
        java.lang.Exception
      • testProductFixedPricePromotion

        public void testProductFixedPricePromotion()
                                            throws CalculationException
        Quite straightforward test. Adds one product to cart, which costs 253 Euro, and update promotion which fires the ProductFixedPricePromotion, and afterwards the customer only needs to pay 200 Euro.
        Throws:
        CalculationException