示例#1
0
 @Test
 public void assertDownloadIsNotFile() throws IOException {
   assertFalse(downloadFile.download(InputData.DOWNLOAD_DIRECTORY));
   FileUtils.cleanDownloadDir();
 }
示例#2
0
 @Test
 public void assertDownload() throws IOException {
   assertTrue(downloadFile.download("text.docx"));
   FileUtils.cleanDownloadDir();
 }