.pathParam("attachmentId", MockProvider.EXAMPLE_TASK_ATTACHMENT_ID)
.then().expect()
.statusCode(Status.OK.getStatusCode())
.when().get(SINGLE_TASK_SINGLE_ATTACHMENT_DATA_URL);
byte[] responseContent = IoUtil.readInputStream(response.asInputStream(), "attachmentContent");
assertEquals("someContent", new String(responseContent));
}
@Test
public void testGetSingleTaskAttachmentContentWithHistoryDisabled() {