assertEquals(testData, builder.toString());
}
public void testGetStreamReturnsNewStream() throws Exception {
String testData = "There's something quite peaceful about writing tests.";
AttachmentId id = new AttachmentId("", "id_6");
AttachmentStore store = makeStoreWithData(id, testData);
AttachmentData data = store.getAttachment(id);
InputStream is1 = data.getInputStream();
InputStream is2 = data.getInputStream();