1
2
3
4
5
6
7
8
9
10
11 package org.mule.model.direct;
12
13 import org.mule.api.MuleException;
14 import org.mule.component.DefaultJavaComponent;
15 import org.mule.model.AbstractServiceTestCase;
16 import org.mule.object.SingletonObjectFactory;
17
18 public class DirectServiceTestCase extends AbstractServiceTestCase
19 {
20
21 protected void doSetUp() throws Exception
22 {
23 service = new DirectService();
24 service.setName("direct");
25 service.setComponent(new DefaultJavaComponent(new SingletonObjectFactory(Object.class)));
26 service.setModel(new DirectModel());
27 service.setMuleContext(muleContext);
28 }
29
30 protected void doTearDown() throws Exception
31 {
32 service = null;
33 }
34
35 public void testStop() throws MuleException
36 {
37
38 }
39
40 }