@Test
public void testValidateObjNull() {

    try {
        zts.validate(null, "SignedDomain", "principal-domain", "testValidate");
        fail();
    } catch (ResourceException ex) {
        assertEquals(ex.getCode(), 400);
    }
}