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