@Test public void testGetWorkflowWallClockMinutes() throws RepositoryException, XmlRpcException, IOException { List<WorkflowInstance> workflowlist = fmc.getWorkflowInstances(); assertThat(workflowlist, is(not(nullValue()))); assertThat(workflowlist.size(), is(not(0))); WorkflowInstance instance = fmc.getWorkflowInstanceById(workflowlist.get(0).getId()); assertThat(instance, is(not(nullValue()))); double clock = fmc.getWorkflowWallClockMinutes(instance.getId()); assertThat(clock, is(not(nullValue()))); }