@Test
public void testDeleteDomainNonExistant() {

    try {
        zms.deleteDomain(mockDomRsrcCtx, auditRef, "TestDeleteDomainNonExist", "testDeleteDomainNonExistant");
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 404);
    }
}