@Test
public void testDeleteDomainRoleMemberInvalidDomain() {

    try {
        zms.deleteDomainRoleMember(mockDomRsrcCtx, "invalid-domain", "user.joe", auditRef);
        fail();
    } catch (ResourceException ex) {
        assertEquals(404, ex.getCode());
    }
}