public void testAttachmentNoNameGivenFileExists() throws Exception {
File tmpDir = getTmpDir();
Date date = new Date(System.currentTimeMillis());
DownloadRequest request = getAttachmentDownloadRequest("http://www.rssowl.org/rssowl2dg/tests/download/test.txt", null, 0, tmpDir, null, date);
fService.download(request);
File download = new File(tmpDir, "test.txt");
assertTrue(download.exists());