### Question:
DoubleJWT { public String generateToken(String tokenType, long identity, String scope, long expire) { Date expireDate = DateUtil.getDurationDate(expire); return builder .withClaim("type", tokenType) .withClaim("identity", identity) .withClaim("scope", scope) .withExpiresAt(expireDate) .sign(algorithm); } DoubleJWT(Algorithm algorithm, long accessExpire, long refreshExpire);  DoubleJWT(String secret, long accessExpire, long refreshExpire); String generateToken(String tokenType, long identity, String scope, long expire); Map<String, Claim> decodeAccessToken(String token); Map<String, Claim> decodeRefreshToken(String token); String generateAccessToken(long identity); String generateRefreshToken(long identity); Tokens generateTokens(long identity); JWTVerifier getAccessVerifier(); JWTVerifier getRefreshVerifier(); JWTCreator.Builder getBuilder(); Algorithm getAlgorithm(); Long getAccessExpire(); Long getRefreshExpire();  }### Answer:
@Test public void generateToken() { DoubleJWT jwt = new DoubleJWT("secret", 1000, 2000); String token = jwt.generateToken("test", 1, "test", 1000); assertNotNull(token); log.info(token); }