private void CleanupCreatedEntries() { if (objectsCreated.Count > 0) { var context = this.fixture.GetCurrentDataContext(); foreach (var acntcrt in objectsCreated) { fixture.DeleteBlogPost(context, acntcrt); } objectsCreated.Clear(); context.SaveChanges(); } }