@Test
public void testGetServiceIdentityListThrowException() {

    String domainName = "WrongDomainName";
    try {
        zms.getServiceIdentityList(mockDomRsrcCtx, domainName, null, null);
        fail("notfounderror not thrown.");
    } catch (ResourceException e) {
        assertEquals(e.getCode(), 404);
    }
}