@Test
public void testGetWorkDefinitionsForInvalidNames() throws Exception {

    Map<String, WorkDefinitionImpl> repoResults = WorkItemRepository.getWorkDefinitions(getClass().getResource("repository").toURI().toString(),
            new String[]{"TestServiceOne", "INVALID_NAME"});
    assertNotNull(repoResults);
    assertFalse(repoResults.isEmpty());
    assertEquals(repoResults.size(), 1);
    Map<String, WorkDefinitionImpl> repoResults2 = WorkItemRepository.getWorkDefinitions(getClass().getResource("repository").toURI().toString(),
            new String[]{"INVALID_NAME1", "INVALID_NAME2"});
    assertNotNull(repoResults2);
    assertTrue(repoResults2.isEmpty());
    Map<String, WorkDefinitionImpl> repoResults3 = WorkItemRepository.getWorkDefinitions(getClass().getResource("repository").toURI().toString(),
            new String[]{});
    assertNotNull(repoResults3);
    assertTrue(repoResults3.isEmpty());
}