private LicenseLocal createLicense(final int licenseId) throws CreateException {
final LicenseLocal license = licenseLocalHome.create(new LicensePk(licenseId, "value" + licenseId));
return license;
}
private LicenseLocal findLicense(final int licenseId) throws FinderException {
return licenseLocalHome.findByPrimaryKey(new LicensePk(licenseId, "value" + licenseId));
}