### Question:
LicenseeService { public static Licensee update(final Context context, final String number, final Licensee licensee) throws NetLicensingException { CheckUtils.paramNotEmpty(number, "number"); CheckUtils.paramNotNull(licensee, "licensee"); return NetLicensingService.getInstance().post(context, Constants.Licensee.ENDPOINT_PATH + "/" + number, licensee.asRequestForm(), Licensee.class); }  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 testUpdate() throws Exception { final Licensee licensee = new LicenseeImpl(); licensee.setNumber("L002-TEST"); licensee.setActive(true); licensee.addProperty(LICENSEE_CUSTOM_PROPERTY, "New property value"); licensee.addProperty(LICENSEE_DELETING_PROPERTY, ""); final Licensee updatedLicensee = LicenseeService.update(context, licenseeNumber, licensee); assertNotNull(updatedLicensee); assertEquals("L002-TEST", updatedLicensee.getNumber()); assertEquals(true, updatedLicensee.getActive()); assertEquals(productNumber, updatedLicensee.getProduct().getNumber()); assertEquals("New property value", updatedLicensee.getProperties().get(LICENSEE_CUSTOM_PROPERTY)); assertNull(updatedLicensee.getProperties().get(LICENSEE_DELETING_PROPERTY)); }