use of de.spring.emails.services.impl.EmailServiceImpl in project JavaForFun by gumartinm.
the class EmailServiceTest method setUp.
@Before
public void setUp() throws Exception {
JavaMailSenderImpl senderImpl = new JavaMailSenderImpl();
senderImpl.setPort(3025);
senderImpl.setHost("localhost");
emailService = new EmailServiceImpl(senderImpl);
testSmtp = new GreenMail(ServerSetupTest.SMTP);
testSmtp.start();
}
Aggregations