@Test
public void testThatImageDependsOnStatus() {

    Attachment attachment = createAttachment("test.file");
    DisplayDownloadApprovedClearingReport displayDownloadAttachment = new DisplayDownloadApprovedClearingReport();
    displayDownloadAttachment.setAttachment(attachment);
    assertEquals(DisplayDownloadAbstract.DOWNLOAD_IMAGE_ENABLED, displayDownloadAttachment.getImage());
}