/**
* Returns a list of all defined process types
* from the ProcessDirectory bean.
*/
public void listProcessTypes() throws Exception {
ProcessDirectory pdir
= WorkflowServiceFactory.newInstance()
.newWorkflowService().processDirectory();
Collection processTypes = pdir.processMgrNames ();
assertTrue (processTypes.size() > 0);
}