public async Task ByIdAsyncShouldReturnDrinkById() { var db = DbInfrastructure.GetDatabase(); var drink = new Drink { Name = "Drink" }; await db.AddAsync(drink); // 1000 drinks with 10 categories await this.SeedData(db, 1000, 10); var drinkService = new DrinkService(db); var actualDrink = await drinkService.ByIdAsync(drink.Id); actualDrink.Should().BeEquivalentTo(drink); }