View Javadoc

1   /*
2    * $Id: FilteringXmlMessageSplitterFunctionalTestCase.java 22414 2011-07-14 13:24:46Z 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.module.xml.functional;
12  
13  import org.junit.Test;
14  
15  public class FilteringXmlMessageSplitterFunctionalTestCase extends AbstractXmlSplitterOutboundFunctionalTestCase
16  {
17      public FilteringXmlMessageSplitterFunctionalTestCase(ConfigVariant variant, String configResources)
18      {
19          super(variant, configResources);
20  
21      }
22  
23      @Test
24      public void testSplit() throws Exception
25      {
26          doSend("split");
27          assertService(SPLITTER_ENDPOINT_PREFIX, 1, SERVICE_SPLITTER);
28          assertService(SPLITTER_ENDPOINT_PREFIX, 2, ROUND_ROBIN_DET);
29      }
30  }