### Question:
UtilityService { public static Page<String> listLicenseTypes(final Context context) throws NetLicensingException { final Page<LicenseTypeProperties> licenseTypes = NetLicensingService.getInstance().list(context, Constants.Utility.ENDPOINT_PATH + "/licenseTypes", null, LicenseTypeProperties.class); return new PageImpl<String>( (List<String>) CollectionUtils.collect(licenseTypes.getContent(), new Transformer<LicenseTypeProperties, String>() { @Override public String transform(final LicenseTypeProperties licenseType) { return licenseType.getName(); } }), licenseTypes.getPageNumber(), licenseTypes.getItemsNumber(), licenseTypes.getTotalPages(), licenseTypes.getTotalItems(), licenseTypes.hasNext()); }  static Page<String> listLicenseTypes(final Context context); static Page<String> listLicensingModels(final Context context); static Page<Country> listCountries(final Context context, final String filter);  }### Answer:
@Test public void testListLicenseTypes() throws Exception { final Page<String> licenseTypes = UtilityService.listLicenseTypes(context); assertNotNull(licenseTypes); assertTrue(licenseTypes.hasContent()); assertEquals(2, licenseTypes.getContent().size()); assertEquals("FEATURE", licenseTypes.getContent().get(0)); assertEquals("TIMEVOLUME", licenseTypes.getContent().get(1)); }