@Test
public void testUserOnBusinessAdministratorGroups() {

    List<String> userGroups = new ArrayList<>();
    userGroups.add("admin");
    when(userGroupCallback.getGroupsForUser(USER_ID)).thenReturn(userGroups);
    List<OrganizationalEntity> admins = new ArrayList<>();
    admins.add(new GroupImpl("admin"));
    when(peopleAssignments.getBusinessAdministrators()).thenReturn(admins);
    Task commandTask = command.execute(taskContext);
    assertEquals(task,
                 commandTask);
}