View Javadoc

1   /*
2    * $Id: Pop3MimeWithConnectorMule2042TestCase.java 22518 2011-07-22 07:00:22Z claude.mamo $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.transport.email.issues;
12  
13  import org.mule.transport.email.functional.AbstractEmailFunctionalTestCase;
14  
15  import java.util.Arrays;
16  import java.util.Collection;
17  
18  import org.junit.Test;
19  import org.junit.runners.Parameterized.Parameters;
20  
21  public class Pop3MimeWithConnectorMule2042TestCase extends AbstractEmailFunctionalTestCase
22  {
23  
24      public Pop3MimeWithConnectorMule2042TestCase(ConfigVariant variant, String configResources)
25      {
26          super(variant, MIME_MESSAGE, "pop3", configResources);
27      }
28      
29      @Parameters
30      public static Collection<Object[]> parameters()
31      {
32          return Arrays.asList(new Object[][]{
33              {ConfigVariant.SERVICE, "pop3-mime-with-connector-mule-2042-test-service.xml"},
34              {ConfigVariant.FLOW, "pop3-mime-with-connector-mule-2042-test-flow.xml"}
35          });
36      }      
37      
38      @Test
39      public void testRequest() throws Exception
40      {
41          doRequest();
42      }
43  
44  }