public void DeleteAndRead() { imd = new InMemoryDataStore(); Blab b = new Blab("Generic Saying", "Fake User", System.DateTime.Now); InMemorySpecimen s = new InMemorySpecimen(b.getsysid()); imd.Create(b); imd.Delete(s); Assert.IsNull(imd.Read(s)); }
public void Delete(int id) { memoryStore.Delete(id); indexStore.RemoveObject(id); journal.RecordDelete(id); }