1
2
3
4
5
6
7 package org.mule.module.ibeans;
8
9 import org.mule.tck.junit4.FunctionalTestCase;
10 import org.mule.transport.ibean.IBeansConnector;
11
12 import org.junit.Test;
13
14 import static org.junit.Assert.assertNotNull;
15 import static org.junit.Assert.assertTrue;
16
17 public class IBeansNamespaceHandlerTestCase extends FunctionalTestCase
18 {
19
20 @Override
21 protected String getConfigResources()
22 {
23
24 return "ibeans-namespace-config.xml";
25 }
26
27 @Test
28 public void testIbeansConfig() throws Exception
29 {
30 IBeansConnector c = (IBeansConnector) muleContext.getRegistry().lookupConnector("ibeansConnector");
31 assertNotNull(c);
32 assertTrue(c.isConnected());
33 assertTrue(c.isStarted());
34
35
36 }
37
38 }