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

        description = "Illustrate validation of alg")
public void testFailAlgorithm() throws Exception {
    Set<TokenUtils.InvalidClaims> invalidFields = new HashSet<>();
    invalidFields.add(TokenUtils.InvalidClaims.ALG);
    String token = TokenUtils.signClaims("/Token1.json", SignatureAlgorithm.RS256, invalidFields);
    validateToken(token);
}