Class DefaultProductServiceTest

All Implemented Interfaces:
JaloSessionHolder

@DemoTest public class DefaultProductServiceTest extends ServicelayerTransactionalTest
  • Constructor Details

    • DefaultProductServiceTest

      public DefaultProductServiceTest()
  • Method Details

    • setUp

      public void setUp() throws Exception
      Throws:
      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.