@Test
public void testGetServiceIdentitiesInvalidDomain() {

    String domainName = "get-services-invalid-domain";
    
    try {
        zms.getServiceIdentities(mockDomRsrcCtx, domainName,
                Boolean.TRUE, Boolean.TRUE);
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 404);
    }
}