View Javadoc

1   /*
2    * $Id: MultiConnectorMULE3669TestCase.java 22522 2011-07-22 08:33:20Z justin.calleja $
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.tcp.issues;
12  
13  import java.util.Arrays;
14  import java.util.Collection;
15  
16  import org.junit.Rule;
17  import org.junit.Test;
18  import org.junit.runners.Parameterized.Parameters;
19  import org.mule.tck.AbstractServiceAndFlowTestCase;
20  import org.mule.tck.junit4.rule.DynamicPort;
21  
22  public class MultiConnectorMULE3669TestCase extends AbstractServiceAndFlowTestCase
23  {
24  
25      @Rule
26      public DynamicPort dynamicPort1 = new DynamicPort("port1");
27  
28      @Rule
29      public DynamicPort dynamicPort2 = new DynamicPort("port2");
30  
31      public MultiConnectorMULE3669TestCase(ConfigVariant variant, String configResources)
32      {
33          super(variant, configResources);
34      }
35  
36      @Parameters
37      public static Collection<Object[]> parameters()
38      {
39          return Arrays.asList(new Object[][]{
40              {ConfigVariant.SERVICE, "multiconnector-mule3669-test-service.xml"},
41              {ConfigVariant.FLOW, "multiconnector-mule3669-test-flow.xml"}
42          });
43      }
44  
45      @Test
46      public void testInitialisation() throws Exception
47      {
48          // Just need to ensure the test sets up correctly
49      }
50  
51  }