private void AddTestUsers()
        {
            var userStore   = new UserStore <AppUser, AppRole, long, ExternalUserLogin, AppUserAppRoleMapping, AppUserClaim>(new AppDatabaseContext());
            var userManager = new UserManager <AppUser, long>(userStore);
            var dbContext   = new AppDatabaseContext();
            var addresses   = dbContext.Addresses.ToList();
            var testUsers   = DummyDataGenerator.GetUsers(UsersCount, addresses);

            foreach (var user in testUsers)
            {
                userManager.Create(user, Constants.DefaultUsers.DefaultTestUserPassword);
            }
        }
 public void Setup()
 {
     _appUsers = DummyDataGenerator.GetUsers(MaxUsersCount, null);
 }