Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created July 18, 2013 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save johndemic/6026219 to your computer and use it in GitHub Desktop.
Save johndemic/6026219 to your computer and use it in GitHub Desktop.
@BeforeClass
public static void installLicense() throws Exception {
LicenseManager licenseManager = LicenseManagementFactory.getInstance()
.createLicenseManager(LicenseManagementFactory.MULE_EE);
MuleLicenseKey license = new MuleLicenseKey();
license.setLicenseKeyFile(MyFunctionalTestCase.class
.getResource("/test.lic").getPath());
licenseManager.install(license);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment