@Test
public void testRemoveUser() throws IOException {

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