/*
 * $Id: CxfConnectorTestCase.java 11405 2008-03-18 00:13:00Z dirk.olmes $
 * --------------------------------------------------------------------------------------
 * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
 *
 * The software in this package is published under the terms of the CPAL v1.0
 * license, a copy of which has been included with this distribution in the
 * LICENSE.txt file.
 */

package org.mule.transport.cxf;

import org.mule.api.transport.Connector;
import org.mule.transport.AbstractConnectorTestCase;

import org.apache.cxf.message.MessageImpl;

public class CxfConnectorTestCase extends AbstractConnectorTestCase
{
    public String getTestEndpointURI()
    {
        return "cxf:http://localhost:38009/cxf";
    }

    public Object getValidMessage() throws Exception
    {
        return new MessageImpl();
    }

    @Override
    public Connector createConnector() throws Exception
    {
        CxfConnector c = new CxfConnector();
        c.setMuleContext(muleContext);
        c.setName("cxfConnector");
        return c;
    }
}
