### Question:
LicenseeService { public static void transfer(final Context context, final String number, final String sourceLicenseeNumber) throws NetLicensingException { CheckUtils.paramNotEmpty(number, "number"); CheckUtils.paramNotEmpty(sourceLicenseeNumber, Constants.Licensee.SOURCE_LICENSEE_NUMBER); final Form form = new Form(); form.param(Constants.Licensee.SOURCE_LICENSEE_NUMBER, sourceLicenseeNumber); NetLicensingService.getInstance().post(context, Constants.Licensee.ENDPOINT_PATH + "/" + number + "/" + Constants.Licensee.ENDPOINT_PATH_TRANSFER, form, 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 testTransfer() throws Exception { final String sourceLicenseeNumber = "L002-TEST"; final Licensee licensee = new LicenseeImpl(); licensee.setNumber(licenseeNumber); licensee.setActive(true); LicenseeService.create(context, productNumber, licensee); final Licensee transferLicensee = new LicenseeImpl(); transferLicensee.setNumber(sourceLicenseeNumber); transferLicensee.setActive(true); transferLicensee.addProperty(Constants.Licensee.PROP_MARKED_FOR_TRANSFER, Boolean.toString(true)); LicenseeService.create(context, productNumber, transferLicensee); LicenseeService.transfer(context, licenseeNumber, sourceLicenseeNumber); }