anchor.diff:                              {login, "new_user"},
                               {name, "New User"},
                               {teams, ["New team(team desc)", "Another team(another desc)"]},
  -                            {email, "new@email.com"},
  +                            {emails, ["new@email.com"]},
                               {dn_list, ["O=new-dn"]}
                           ],
                       % New user record that should be generated from above
  
positive.code:                     meck:expect(dao_lib, apply,
                          fun(dao_users, remove_user, [Key], _) ->
                              case Key of
                                  {login, Login} when is_list(Login) -> ok;
                                  {email, Email} when is_list(Email) -> ok;
                                  {uuid, UUID} when is_list(UUID) -> ok;
  
negative.code:                         fun
                              (dao_users, get_user, [Key], _) ->
                                  case Key of
                                      {global_id, "global_id"} -> {error, user_not_found};
                                      {login, "new_user"} -> {error, user_not_found};
                                      {uuid, "uuid"} -> {ok, NewUserRecord}
                                  end;
  