Class ProductFixedPricePromotionTest

All Implemented Interfaces:
JaloSessionHolder

public class ProductFixedPricePromotionTest extends AbstractPromotionTest
Test for ProductFixedPricePromotion.
  • Constructor Details

    • ProductFixedPricePromotionTest

      public ProductFixedPricePromotionTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Overrides:
      setUp in class AbstractPromotionTest
      Throws:
      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