1
2
3
4
5
6
7 package org.mule.transport.email.connectors;
8
9 import org.mule.api.transport.Connector;
10 import org.mule.transport.email.ImapConnector;
11
12 import com.icegreen.greenmail.util.ServerSetup;
13
14
15
16
17 public class ImapConnectorTestCase extends AbstractReceivingMailConnectorTestCase
18 {
19 public ImapConnectorTestCase()
20 {
21 super(ServerSetup.PROTOCOL_IMAP);
22 }
23
24 @Override
25 public Connector createConnector() throws Exception
26 {
27 ImapConnector connector = new ImapConnector(muleContext);
28 connector.setName("ImapConnector");
29 connector.setCheckFrequency(POLL_PERIOD_MS);
30 connector.setServiceOverrides(newEmailToStringServiceOverrides());
31 return connector;
32 }
33
34 }