@Test
public void testPostDomainNullObject() {

    try {
        zms.postTopLevelDomain(mockDomRsrcCtx, auditRef, null);
        fail("requesterror not thrown.");
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 400);
    }
}