internal static void Delete(IDataStore dataStore, Inbox inbox) { InboxManager manager = new InboxManager(dataStore); BusinessObjectActionReport <DataRepositoryActionStatus> report = manager.Delete(inbox); Assert.AreEqual(DataRepositoryActionStatus.Success, report.Status); Assert.IsNull(manager.GetInbox(inbox.InboxId)); Trace.WriteLine("Successfully deleted inbox " + inbox.Name); }