@Test
public void testGetTenantResourceGroupRolesInvalidDomain() {

    try {
        zms.getTenantResourceGroupRoles(mockDomRsrcCtx, "invalid-domain", "api",
                "tenant", "table1");
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 404);
    }
}