1   /*
2    * $Id: CxfConnectorTestCase.java 12257 2008-07-08 22:02:16Z dandiep $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.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.cxf;
12  
13  import org.mule.api.transport.Connector;
14  import org.mule.transport.AbstractConnectorTestCase;
15  import org.mule.transport.DefaultMessageAdapter;
16  
17  public class CxfConnectorTestCase extends AbstractConnectorTestCase
18  {
19      public String getTestEndpointURI()
20      {
21          return "cxf:http://localhost:38009/cxf";
22      }
23  
24      public Object getValidMessage() throws Exception
25      {
26          return new DefaultMessageAdapter("");
27      }
28  
29      @Override
30      public Connector createConnector() throws Exception
31      {
32          CxfConnector c = new CxfConnector();
33          c.setMuleContext(muleContext);
34          c.setName("cxfConnector");
35          return c;
36      }
37  }