@Test
public void testUpdateBundle() throws Exception {

    Bundle bundle = Mockito.mock(Bundle.class);
    Mockito.when(context.getBundle(5)).thenReturn(bundle);
    mbean.updateBundle(5);
    Mockito.verify(bundle).update();
}