Class NewCustomerRestrictionTest

    • Constructor Detail

      • NewCustomerRestrictionTest

        public NewCustomerRestrictionTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNewCustomerRestrictionVoucher

        public void testNewCustomerRestrictionVoucher()
                                               throws JaloPriceFactoryException,
                                                      InvalidCartException
        Tests the voucher with new user restriction(VOU-171):
        • adds a product to cart, and redeems the voucher which is applicable,
        • creates an order from this cart,
        • creates a new cart, and adds 2 products to it,
        • the voucher is not applicable any more for the current user.
        Throws:
        JaloPriceFactoryException
        InvalidCartException