@Test
public void testOsgiEeCapabilityStrangeVersion() throws Exception {

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