public void testStoreCanDeleteData() throws Exception { String testData = "some day, I'm going to run out of test strings"; AttachmentId id = new AttachmentId("", "id_3"); AttachmentStore store = makeStoreWithData(id, testData); store.deleteAttachment(id); AttachmentData data = store.getAttachment(id); assertNull(data); }
public void testStoreCanDeleteData() throws Exception { String testData = "some day, I'm going to run out of test strings"; AttachmentId id = new AttachmentId("", "id_3"); AttachmentStore store = makeStoreWithData(id, testData); store.deleteAttachment(id); AttachmentData data = store.getAttachment(id); assertNull(data); }