1
2
3
4
5
6
7 package org.mule.config.spring.parsers;
8
9 import org.mule.config.spring.parsers.beans.ThirdPartyContainer;
10 import org.mule.tck.junit4.FunctionalTestCase;
11
12 import org.junit.Test;
13
14 import static org.junit.Assert.assertNotNull;
15
16 public class ThirdPartyTestCase extends FunctionalTestCase
17 {
18
19 @Override
20 protected String getConfigResources()
21 {
22 return "org/mule/config/spring/parsers/third-party-test.xml";
23 }
24
25 @Test
26 public void testContainer()
27 {
28 ThirdPartyContainer container = (ThirdPartyContainer) muleContext.getRegistry().lookupObject("container");
29 assertNotNull(container);
30 assertNotNull(container.getThing());
31 }
32
33 }