assertThat( container.getFramework().getState(), is( Bundle.ACTIVE ) );
container.shutdown();
}
@Test
public void shouldCreateSystemBundle() throws Exception
<BUG>{
container.start();</BUG>
Bundle systemBundle = container.getBundles()[0];
assertThat( (String) systemBundle.getHeaders().get( Constants.EXPORT_PACKAGE ), containsString( "org.osgi.framework" ) );
container.shutdown();

assertThat( container.getFramework().getState(), is( Bundle.ACTIVE ) );
container.shutdown();
}
@Test
public void shouldCreateSystemBundle() throws Exception
{
createContainer();
container.start();
Bundle systemBundle = container.getBundles()[0];
assertThat( (String) systemBundle.getHeaders().get( Constants.EXPORT_PACKAGE ), containsString( "org.osgi.framework" ) );
container.shutdown();
