### Question:
LicenseeService { public static void delete(final Context context, final String number, final boolean forceCascade) throws NetLicensingException { CheckUtils.paramNotEmpty(number, "number"); final Map<String, Object> params = new HashMap<>(); params.put(Constants.CASCADE, forceCascade); NetLicensingService.getInstance().delete(context, Constants.Licensee.ENDPOINT_PATH + "/" + number, params); }  static Licensee create(final Context context, final String productNumber, final Licensee licensee); static Licensee get(final Context context, final String number); static Page<Licensee> list(final Context context, final String filter); static Licensee update(final Context context, final String number, final Licensee licensee); static void delete(final Context context, final String number, final boolean forceCascade); @Deprecated static ValidationResult validate(final Context context, final String number, final String productNumber,
            final String licenseeName, final ValidationParameters validationParameters, final MetaInfo... meta); static ValidationResult validate(final Context context, final String number,
            final ValidationParameters validationParameters, final MetaInfo... meta); static void transfer(final Context context, final String number, final String sourceLicenseeNumber);  }### Answer:
@Test public void testDelete() throws Exception { LicenseeService.delete(context, licenseeNumber, true); thrown.expect(ServiceException.class); thrown.expectMessage("NotFoundException: Requested licensee does not exist"); LicenseeService.delete(context, "L001-NONE", false); }