### Question:
JsonWebTokenUtil { public static Claims parseJwt(String jwt) throws ExpiredJwtException, UnsupportedJwtException, MalformedJwtException, SignatureException, IllegalArgumentException { return Jwts.parser() .setSigningKey(DatatypeConverter.parseBase64Binary(secretKey)) .parseClaimsJws(jwt) .getBody(); }  static String issueJwt(String id, String subject, String issuer, Long period,
                                  List<String> roles, List<String> permissions,
                                  Boolean isRefresh, SignatureAlgorithm algorithm); static boolean isNotJsonWebToken(String jwt); static Claims parseJwt(String jwt); static void setSecretKey(String secretNowKey);  }### Answer:
@Test public void parseJwt() { String jwt = JsonWebTokenUtil.issueJwt(UUID.randomUUID().toString(), "tom", "token-server", 36000L, Arrays.asList("role2", "rol3"), null, Boolean.FALSE, SignatureAlgorithm.HS512); assertNotNull(JsonWebTokenUtil.parseJwt(jwt)); }