public async Task GetAllValidAsync_should_return_2_users_when_database_has_3_users_with_1_deleted_user() { // arrange TestDataInitializer.InitThreeUsersWhereLastOneIsDeleted(_context); //act var result = await _userRepository.GetAllValidAsync(); //assert Assert.Equal(2, result.Count); }