public void ShouldDropAndCreateTheDatabase()
        {
            SampleDataInitializer.DropAndCreateDatabase(Context);
            var cars = Context.Cars.IgnoreQueryFilters();

            Assert.Empty(cars);
        }
 public void ShouldLoadCategoriesAndProducts()
 {
     SampleDataInitializer.DropAndCreateDatabase(Context);
     SampleDataInitializer.InitializeData(Context);
     Assert.Equal(7, Context.Categories.Count());
     Assert.Equal(41, Context.Products.Count());
     Assert.Equal(1, Context.Customers.Count());
     Context.CustomerId = Context.Customers.First().Id;
     Assert.Equal(1, Context.Orders.Count());
     Assert.Equal(3, Context.OrderDetails.Count());
     Assert.Equal(1, Context.ShoppingCartRecords.Count());
     SampleDataInitializer.DropAndCreateDatabase(Context);
 }
 public void ShouldDropAndCreateDatabase()
 {
     SampleDataInitializer.DropAndCreateDatabase(Context);
     Assert.Empty(Context.Categories.ToList());
     Assert.Empty(Context.Products.ToList());
 }