01: package org.bpmscript;
02:
03: import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
04: import org.apache.xbean.spring.context.FileSystemXmlApplicationContext;
05:
06: import junit.framework.TestCase;
07:
08: public class AppContextTest extends TestCase {
09: public void testAppContext() throws Exception {
10: FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(
11: "./src/main/resources/applicationContext.xml");
12: context.getBean("jbiClient");
13: }
14: }
|