public async Task SettingUpReservationStatusToAccomplished_ShouldReturnCorrectResult() { MapperInitializer.InitializeMapper(); var context = ApplicationDbContextInMemoryFactory.InitializeContext(); var reservationRepository = new EfDeletableEntityRepository <Reservation>(context); var reservationsService = new ReservationsService(reservationRepository); var seeder = new DbContextTestsSeeder(); await seeder.SeedReservationsAsync(context); var result = await reservationsService.SettingUpReservationStatusToAccomplished("cde"); Assert.True(result == 1, ErrorMessage); }