@Test
public void testOsgiEeCapabilityAlphanumericVersion() throws Exception {

    createExecutionEnvironment(new SystemCapability(Type.OSGI_EE, "JavaSE", "AlphaRelease.beta-245.0"));
    assertThat(customExecutionEnvironment.getProfileProperties().size(), is(3));
    assertProperty(Constants.FRAMEWORK_EXECUTIONENVIRONMENT, "JavaSE-AlphaRelease.beta-245.0");
    assertProperty(Constants.FRAMEWORK_SYSTEMCAPABILITIES,
            "osgi.ee; osgi.ee=\"JavaSE\"; version:Version=\"AlphaRelease.beta-245.0\"");
}