View Javadoc

1   /*
2    * $Id: MultipleCollectionAggregatorsTestCase.java 22421 2011-07-15 05:05:06Z dirk.olmes $
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.routing.outbound;
12  
13  import org.mule.tck.AbstractServiceAndFlowTestCase;
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  import static org.junit.Assert.assertTrue;
22  
23  public class MultipleCollectionAggregatorsTestCase extends AbstractServiceAndFlowTestCase
24  {
25      @Parameters
26      public static Collection<Object[]> parameters()
27      {
28          return Arrays.asList(new Object[][]{
29              {ConfigVariant.SERVICE, "multiple-collection-aggregators-config-service.xml"},
30              {ConfigVariant.FLOW, "multiple-collection-aggregators-config-flow.xml"}
31          });
32      }
33  
34      public MultipleCollectionAggregatorsTestCase(ConfigVariant variant, String configResources)
35      {
36          super(variant, configResources);
37      }
38  
39      @Test
40      public void testStartsCorrectly()
41      {
42          assertTrue(muleContext.isStarted());
43      }
44  }