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