protected AttachmentStore makeStoreWithData(AttachmentId id, String data) throws Exception { AttachmentStore store = newAttachmentStore(); writeStringDataToAttachmentStore(store, id, data); return store; }
protected AttachmentStore makeStoreWithData(AttachmentId id, String data) throws Exception { AttachmentStore store = newAttachmentStore(); writeStringDataToAttachmentStore(store, id, data); return store; }
public void testStoreReturnsNullForNonexistantId() throws IOException { AttachmentStore store = newAttachmentStore(); AttachmentId id = new AttachmentId("", "some_madeup_id"); assertNull(store.getAttachment(id)); }
public void testStoreReturnsNullForNonexistantId() throws IOException { AttachmentStore store = newAttachmentStore(); AttachmentId id = new AttachmentId("", "some_madeup_id"); assertNull(store.getAttachment(id)); }