@Test
public void testDeleteTopLevelDomainNonExistantNoAuditRef() {

    try {
        zms.deleteTopLevelDomain(mockDomRsrcCtx, "NonExistantDomain", null);
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 404);
    }
}