@Test(groups = TCKConstants.TEST_GROUP_UTILS, expectedExceptions = {InvalidJwtException.class},

    description = "Illustrate validation of exp")
public void testFailExpired() throws Exception {
    Map<String, Long> timeClaims = new HashMap<>();
    Set<TokenUtils.InvalidClaims> invalidFields = new HashSet<>();
    invalidFields.add(TokenUtils.InvalidClaims.EXP);
    String token = TokenUtils.signClaims("/Token1.json", SignatureAlgorithm.RS256, invalidFields, timeClaims);
    validateToken(token);
}