@Test
public void testRemoveRole() throws IOException {

    Mockito.when(userAdmin.removeRole("role1")).thenReturn(true);
    boolean isRemoved = mbean.removeRole("role1");
    Assert.assertTrue(isRemoved);
}