public async Task AddProductTest() { using (var contex = new ApplicationDbContext(_options)) { var repository = new SqlProductRepository(contex); await repository.Create(new Domain.Product() { Title = "test", Model = "a", Price = 10 }); var result = repository.GetList(); Assert.True(await result.CountAsync() > 0); } }