public static List<IUser> convertFromProxyPentahoUsers( UserRoleSecurityInfo info, IRoleSupportSecurityManager rsm ) {
    List<ProxyPentahoUser> users = info.getUsers();
    if ( users == null || users.isEmpty() ) {
      return Collections.emptyList();
    }
    List<UserToRoleAssignment> assignments = info.getAssignments();
    List<IUser> userList = new ArrayList<IUser>( users.size() );
    for ( ProxyPentahoUser user : users ) {
      userList.add( convertFromProxyPentahoUser( user, assignments, rsm ) );
    }
    return userList;
  }
@Test
  public void convertFromProxyPentahoUsers_ReturnsEmptyList_WhenUsersAreAbsent() throws Exception {
    UserRoleSecurityInfo info = new UserRoleSecurityInfo();
    info.setUsers( null );

    IRoleSupportSecurityManager manager = mockSecurityManager( false );

    List<IUser> users = convertFromProxyPentahoUsers( info, manager );
    assertNotNull( users );
    assertTrue( users.isEmpty() );
  }