@Test public void testProcessEngineInfo() { List<ProcessEngineInfo> processEngineInfos = ProcessEngines.getProcessEngineInfos(); assertEquals(1, processEngineInfos.size()); ProcessEngineInfo processEngineInfo = processEngineInfos.get(0); assertNull(processEngineInfo.getException()); assertNotNull(processEngineInfo.getName()); assertNotNull(processEngineInfo.getResourceUrl()); ProcessEngine processEngine = ProcessEngines.getProcessEngine(ProcessEngines.NAME_DEFAULT); assertNotNull(processEngine); }
@After public void close() throws Exception { ProcessEngines.destroy(); }
@Before public void open() throws Exception { ProcessEngines.init(); }