### Question:
ProductService { public static Page<Product> list(final Context context, final String filter) throws NetLicensingException { final Map<String, Object> params = new HashMap<String, Object>(); if (StringUtils.isNotBlank(filter)) { params.put(Constants.FILTER, filter); } return NetLicensingService.getInstance().list(context, Constants.Product.ENDPOINT_PATH, params, Product.class); }  static Product create(final Context context, final Product product); static Product get(final Context context, final String number); static Page<Product> list(final Context context, final String filter); static Product update(final Context context, final String number, final Product product); static void delete(final Context context, final String number, final boolean forceCascade);  }### Answer:
@Test public void testList() throws Exception { final Page<Product> products = ProductService.list(context, null); assertNotNull(products); assertTrue(products.hasContent()); assertEquals(3, products.getItemsNumber()); assertEquals("P001-TEST", products.getContent().get(0).getNumber()); assertEquals("Test Product 2", products.getContent().get(1).getName()); assertEquals("v2.0", products.getContent().get(2).getVersion()); }