1 /*
2 * $Id: ResponseTransformerScenariosTestCase.java 19856 2010-10-06 21:36:13Z dzapata $
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.test.integration.transformer.response;
12
13 import org.mule.tck.DynamicPortTestCase;
14 import org.mule.tck.FunctionalTestCase;
15
16 public class ResponseTransformerScenariosTestCase extends DynamicPortTestCase
17 {
18 public ResponseTransformerScenariosTestCase()
19 {
20 setDisposeManagerPerSuite(true);
21 }
22
23 @Override
24 protected String getConfigResources()
25 {
26 return "org/mule/test/integration/transformer/response/response-transformer-scenarios.xml";
27 }
28
29 // ***** RESPONSE ENDPONTS ON INBOUND ENDPOINTS USED FOR SYNC RESPONSE AFTER ROUTING *****
30 // Applied by DefaultInternalMessageListener
31
32 // TODO Not sure how to implement with axis
33
34 // public void testAxisSyncResponseTransformer() throws Exception
35 // {
36 // MuleClient client = new MuleClient();
37 // MuleMessage message = client.send("axis:http://localhost:4445/services/AxisSync?method=echo",
38 // "request",
39 // null);
40 // assertNotNull(message);
41 // assertEquals("request" + "customResponse", message.getPayloadAsString());
42 // }
43
44 /**
45 * make maven happy
46 */
47 public void testDummy()
48 {
49 }
50
51 @Override
52 protected int getNumPortsToFind()
53 {
54 return 4;
55 }
56 }