@Test
public void testCreateUserDomainMismatch() {

    UserDomain dom1 = createUserDomainObject("hga", "Test Domain Mismatch", "testMismatchOrg");
    try {
        zms.postUserDomain(mockDomRsrcCtx, "hga2", auditRef, dom1);
    } catch (ResourceException ex) {
        assertEquals(403, ex.getCode());
    }
}