Delete DownloadEmailAttachmentsTest.java

not required.
This commit is contained in:
rvsathe 2021-05-19 17:56:05 +05:30 committed by GitHub
parent caf8858307
commit 4b71cf5ccb
1 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
package com.baeldung.downloadAttachments;
import static org.junit.Assert.fail;
import org.junit.Test;
public class DownloadEmailAttachmentsTest {
@Test
public void when_Run_then_downloadAttachments() {
String host = "pop.gmail.com";
String port = "995";
String userName = "your_email";
String password = "your_password";
String saveDirectory = "valid_folder_path";
DownloadEmailAttachments receiver = new DownloadEmailAttachments();
receiver.setSaveDirectory(saveDirectory);
try {
receiver.downloadEmailAttachments(host, port, userName, password);
} catch (Exception ex) {
fail("Exception: " + ex);
}
}
}