@Test
public void testResolveBundle() throws IOException {

    Bundle bundle = Mockito.mock(Bundle.class);
    Mockito.when(context.getBundle(1)).thenReturn(bundle);
    mbean.resolveBundle(1);
    Mockito.verify(admin).resolveBundles(new Bundle[] { bundle });
}