1
2
3
4
5
6
7
8
9
10 package org.mule.module.jboss.config;
11
12 import org.mule.tck.junit4.FunctionalTestCase;
13
14 import org.junit.Test;
15
16 import static org.junit.Assert.assertNotNull;
17 import static org.junit.Assert.assertTrue;
18
19 public class JbossTSNamespaceHandlerTestCase extends FunctionalTestCase
20 {
21
22 @Override
23 protected String getConfigResources()
24 {
25 return "jbossts-namespacehandler.xml";
26 }
27
28 @Test
29 public void testNamespaceHandler()
30 {
31 assertNotNull(muleContext.getTransactionManager());
32 assertTrue(muleContext.getTransactionManager().getClass().getName().compareTo("arjuna") > 0);
33
34
35 }
36
37 }