### Question:
LicenseService { public static Page<License> 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.License.ENDPOINT_PATH, params, License.class); }  static License create(final Context context, final String licenseeNumber,
            final String licenseTemplateNumber,
            final String transactionNumber, final License license); static License get(final Context context, final String number); static Page<License> list(final Context context, final String filter); static License update(final Context context, final String number, final String transactionNumber,
            final License license); static void delete(final Context context, final String number, final boolean forceCascade);  }### Answer:
@Test public void testList() throws Exception { final Page<License> licenses = LicenseService.list(context, null); assertNotNull(licenses); assertTrue(licenses.hasContent()); assertEquals(3, licenses.getItemsNumber()); assertEquals("LC001-TEST", licenses.getContent().get(0).getNumber()); assertEquals("Test License 2", licenses.getContent().get(1).getName()); assertEquals("LT002-TEST", licenses.getContent().get(2).getLicenseTemplate().getNumber()); }