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