Class OrderServiceTest

    • Constructor Detail

      • OrderServiceTest

        public OrderServiceTest()
    • Method Detail

      • setUp

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

        public void testPlaceOrder()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPlaceOrderLazyLoadingBug

        public void testPlaceOrderLazyLoadingBug()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCartRemoveEntriesThenOrder

        public void testCartRemoveEntriesThenOrder()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDoubleAddEntry

        public void testDoubleAddEntry()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAddNewEntry

        public void testAddNewEntry()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFindEntryByNumber

        public void testFindEntryByNumber()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFindEntriesByProduct

        public void testFindEntriesByProduct()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAddRemoveGlobalDiscountValue

        public void testAddRemoveGlobalDiscountValue()
      • testAddRemoveTotalTaxValue

        public void testAddRemoveTotalTaxValue()
      • testCreateOrderForNullOrder

        public void testCreateOrderForNullOrder()
      • testCreateOrder

        public void testCreateOrder()
      • testAddAllGlobalDiscountValuesCornerCases

        public void testAddAllGlobalDiscountValuesCornerCases()
      • testAddAllGlobalDiscountValues

        public void testAddAllGlobalDiscountValues()
      • testAddAllTotalTaxValuesCornerCases

        public void testAddAllTotalTaxValuesCornerCases()
      • testAddAllTotalTaxValues

        public void testAddAllTotalTaxValues()