@Test
public void testGetWorkflowById() throws RepositoryException, XmlRpcException, IOException {

  List<Workflow> workflowlist = wmc.getWorkflows();
  assertThat(workflowlist, is(not(nullValue())));
  assertThat(workflowlist.size(), is(not(0)));
  Workflow work = wmc.getWorkflowById(workflowlist.get(0).getId());
  assertThat(work, is(not(nullValue())));
}