private Date yesterday() {
        val now = new Date();
        var yesterday = now.getTime() - 24 * 3600 * 1000;
        return new Date(yesterday);
    }
This class tests the {@link JwtGenerator} and {@link JwtAuthenticator}.

@author Jerome Leleu
@since 1.8.0
pac4j-jwt/src/test/java/org/pac4j/jwt/JwtTests.java