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.Pop3Connector;
15
16 import com.icegreen.greenmail.util.ServerSetup;
17
18
19
20
21 public class Pop3ConnectorTestCase extends AbstractReceivingMailConnectorTestCase
22 {
23
24 public Pop3ConnectorTestCase()
25 {
26 super(ServerSetup.PROTOCOL_POP3);
27 }
28
29 public Connector createConnector() throws Exception
30 {
31 Pop3Connector connector = new Pop3Connector(muleContext);
32 connector.setName("Pop3Connector");
33 connector.setCheckFrequency(POLL_PERIOD_MS);
34 connector.setServiceOverrides(newEmailToStringServiceOverrides());
35 return connector;
36 }
37
38 }