public static void Cleanup()
 {
     using (var dbContext = new TestDbContext())
     {
         dbContext.TestObjects.RemoveRange(dbContext.TestObjects.ToArray());
         dbContext.SaveChanges();
     }
 }
 public static void Initialize(TestContext context)
 {
     using (var dbContext = new TestDbContext())
     {
         dbContext.TestObjects.RemoveRange(dbContext.TestObjects.ToArray());
         TestObjects = dbContext.TestObjects.AddRange(TestObjects).ToArray();
         dbContext.SaveChanges();
     }
 }