/*
 * $Id: DirectServiceTestCase.java 11376 2008-03-16 17:44:10Z dfeist $
 * --------------------------------------------------------------------------------------
 * 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.model.direct;

import org.mule.api.MuleException;
import org.mule.component.DefaultJavaComponent;
import org.mule.model.AbstractServiceTestCase;
import org.mule.object.SingletonObjectFactory;

public class DirectServiceTestCase extends AbstractServiceTestCase
{

    protected void doSetUp() throws Exception
    {
        service = new DirectService();
        service.setName("direct");
        service.setComponent(new DefaultJavaComponent(new SingletonObjectFactory(Object.class)));
        service.setModel(new DirectModel());
        service.setMuleContext(muleContext);
    }

    protected void doTearDown() throws Exception
    {
        service = null;
    }

    public void testStop() throws MuleException
    {
        // TODO Remove this overridden empty implementation once MULE-2844 is resolved
    }

}
