public async Task AddPizzaAsyncAdds() { var options = new DbContextOptionsBuilder <Project2JAGVContext>() .UseInMemoryDatabase("AddOrderAsyncAdds") .Options; Pizza pizza = new Pizza { Id = 1, OrderId = 1, Name = "name", }; using var actContext = new Project2JAGVContext(options); var repo = new DataAccess.DataAccess(actContext, new MapperStub()); await repo.AddPizzaAsync(pizza); await repo.SaveAsync(); using var arrangeContext = new Project2JAGVContext(options); var result = arrangeContext.Pizzas; Assert.NotNull(result); }