@Test public void testDataServiceCanFetchCategories() throws Exception { assertFalse(service.getAllCategories().isEmpty()); }
public abstract Collection<Category> getAllCategories();
DataService implements Serializable { public abstract Collection<Category> getAllCategories(); }
DataService implements Serializable { public abstract Collection<Category> getAllCategories();  }
DataService implements Serializable { public abstract Collection<Category> getAllCategories();  abstract Collection<Product> getAllProducts(); abstract Collection<Category> getAllCategories(); abstract void updateProduct(Product p); abstract void deleteProduct(int productId); abstract Product getProductById(int productId); abstract void updateCategory(Category category); abstract void deleteCategory(int categoryId); static DataService get(); }
DataService implements Serializable { public abstract Collection<Category> getAllCategories();  abstract Collection<Product> getAllProducts(); abstract Collection<Category> getAllCategories(); abstract void updateProduct(Product p); abstract void deleteProduct(int productId); abstract Product getProductById(int productId); abstract void updateCategory(Category category); abstract void deleteCategory(int categoryId); static DataService get();  }