@Test
public void testGetRoleListThrowException() {

    try {
        zms.getRoleList(mockDomRsrcCtx, "wrongDomainName", null, null);
        fail("notfounderror not thrown.");
    } catch (ResourceException e) {
        assertEquals(e.getCode(), 404);
    }
}