@Test
public void listWorkflowDefinitionsFindsExistingDefinitionWithoutArguments() {

  List<ListWorkflowDefinitionResponse> ret = resource.listWorkflowDefinitions(emptyList()).readEntity(definitionListType);
  assertThat(ret.size(), is(1));
  verify(workflowDefinitionDao).queryStoredWorkflowDefinitions(stringList.capture());
  assertThat(stringList.getValue().size(), is(0));
}