@Test
public void testShutdownFramework() throws Exception {

    Bundle bundle = Mockito.mock(Bundle.class);
    Mockito.when(context.getBundle(0)).thenReturn(bundle);
    mbean.shutdownFramework();
    Mockito.verify(bundle).stop();
}