Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created July 18, 2013 02:16
Show Gist options
  • 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