1
2
3
4
5
6
7
8
9
10
11 package org.mule.transport.email.connectors;
12
13 import org.mule.api.transport.Connector;
14 import org.mule.transport.email.SmtpsConnector;
15
16 import com.icegreen.greenmail.util.ServerSetup;
17
18 public class SmtpsConnectorTestCase extends SmtpConnectorTestCase
19 {
20
21 public SmtpsConnectorTestCase()
22 {
23 super(ServerSetup.PROTOCOL_SMTPS, 50008);
24 }
25
26
27 public Connector createConnector() throws Exception
28 {
29 SmtpsConnector connector = new SmtpsConnector();
30 connector.setName("SmtpsConnector");
31 connector.setTrustStorePassword("password");
32 connector.setTrustStore("greenmail-truststore");
33 return connector;
34 }
35
36 }