public async Task DeleteReservation_ShouldDeleteReservation() { // Arange List <Reservation> reservationsData = new() { Reservations.Reservation1User3Room1NoClient }; ApplicationDbContext context = await InMemoryFactory.InitializeContext() .SeedAsync(reservationsData); SettingService settingService = new(context); var service = new ReservationsService(context, settingService); // Act bool result1 = await service.DeleteReservation(Reservations.Reservation1User3Room1NoClient.Id); bool result2 = await service.DeleteReservation("2"); // Assert Assert.IsTrue(result1); Assert.IsFalse(result2); }