1
2
3
4
5
6
7
8
9
10
11 package org.mule.providers.email;
12
13 import org.mule.umo.provider.UMOConnector;
14
15
16
17
18 public class Pop3ConnectorTestCase extends AbstractReceivingMailConnectorTestCase
19 {
20
21 public Pop3ConnectorTestCase()
22 {
23 super("Pop3Connector");
24 }
25
26 public UMOConnector createConnector(boolean init) throws Exception
27 {
28 Pop3Connector connector = new Pop3Connector();
29 connector.setName(getConnectorName());
30 connector.setCheckFrequency(POLL_PERIOD_MS);
31 if (init)
32 {
33 connector.initialise();
34 }
35 return connector;
36 }
37
38 public String getTestEndpointURI()
39 {
40 return getPop3TestEndpointURI();
41 }
42
43 }