SnakerEngineFacets { public List<Process> getAllProcess() { QueryFilter filter = new QueryFilter(); return engine.process().getProcesss(filter); }  String initFlows(); List<Process> getAllProcess(); List<Process> getProcessByOrderId(String orderId); SnakerEngine getEngine(); List<String> getAllProcessNames(); Order startInstanceById(String processId, String operator, Map<String, Object> args); Order startInstanceByName(String name, Integer version, String operator, Map<String, Object> args); Order startAndExecute(String name, Integer version, String operator, Map<String, Object> args); Order startAndExecute(String processId, String operator, Map<String, Object> args); List<Task> execute(String taskId, String operator, Map<String, Object> args); List<Task> executeAndJump(String taskId, String operator, Map<String, Object> args, String nodeName); List<Task> getTasks(String orderId);  }
@Test public void getAllProcess() { List<Process> allProcess = snakerEngineFacets.getAllProcess(); Assert.assertNotNull(allProcess); }