@Test
public void testOsgiEeCapabilityInTwoVersions() throws Exception {

    createExecutionEnvironment(OSGI_JAVASE_1_6, OSGI_JAVASE_1_7);
    assertThat(customExecutionEnvironment.getProfileProperties().size(), is(3));
    assertProperty(Constants.FRAMEWORK_EXECUTIONENVIRONMENT, "JavaSE-1.6,JavaSE-1.7");
    assertProperty(Constants.FRAMEWORK_SYSTEMCAPABILITIES,
            "osgi.ee; osgi.ee=\"JavaSE\"; version:List<Version>=\"1.6, 1.7\"");
}