Class DefaultProductServiceTest

    • Constructor Detail

      • DefaultProductServiceTest

        public DefaultProductServiceTest()
    • Method Detail

      • setUp

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

        public void testGetAllProductsCount()
        Checks the product amount of the category.
        • checks that category "HW1000" has 12 products,
        • checks that category "HW1100" has 3 products.
      • testContainsProducts

        public void testContainsProducts()
        Checks that the category "HW1000" contains at least one product.