Forked from johndemic/MuleLicenseFunctionalTest.java
Last active
August 29, 2015 14:06
-
-
Save yamen/a3ad8dd920c7c3b64b7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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