01: package org.bpmscript;
02:
03: import org.apache.xbean.spring.context.FileSystemXmlApplicationContext;
04:
05: import junit.framework.TestCase;
06:
07: public class OrderingTest extends TestCase {
08: public void testBroken() throws Exception {
09: FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(
10: "classpath:/org/bpmscript/brokenOrdering.xml");
11: context.getBean("jbiClient");
12: }
13:
14: public void testWorking() throws Exception {
15: FileSystemXmlApplicationContext context = new FileSystemXmlApplicationContext(
16: "classpath:/org/bpmscript/workingOrdering.xml");
17: context.getBean("jbiClient");
18: }
19: }
|