BpelFactory { public static IProcess loadProcess(InputStream in) throws IOException { return factories.get(NAMESPACE_BPEL_2_0).loadProcess(in); }  static IProcess loadProcess(InputStream in); static IProcess createProcess(); static IProcess createProcess(String bpelNamespace);  }
@Test public void testLoadProcess() throws Exception { InputStream in = getClass().getResourceAsStream("TEST.bpel"); assertNotNull(in); IProcess p = BpelFactory.loadProcess(in); assertEquals("TEST", p.getName()); assertEquals("TESTNS", p.getTargetNamespace()); }