@Test
public void testGetInvalidWorkDefinitionForSingleDirRepo() throws Exception {

    Map<String, WorkDefinitionImpl> repoResults = WorkItemRepository.getWorkDefinitions(getClass().getResource("repositorysingledir").toURI().toString(),
                                                                                        null, "invalidrepowid");
    assertNotNull(repoResults);
    assertTrue(repoResults.isEmpty());
}