public async Task UpdateClientsForReservation_ShouldUpdateClientsForReservation() { // Arange List <Reservation> reservationsData = new() { Reservations.Reservation7User3Room1NoClient }; ApplicationDbContext context = await InMemoryFactory.InitializeContext() .SeedAsync(reservationsData); SettingService settingService = new(context); var service = new ReservationsService(context, settingService); // Act var allClients = await service.UpdateClientsForReservation( Reservations.Reservation7User3Room1NoClient.Id, new List <ClientData> { Users.Client2User, Users.Client3User, Users.Client4User }); // Assert Assert.AreEqual(3, allClients.Count()); }