@Test
public void testGetCertificateThumbprint() {

    Auth0Jwt jwt;
    jwt  = new Auth0Jwt(parser.parseClaimsJws(Jwts.builder().setSubject("subject").signWith(secretKey).compact()));
    assertNull(jwt.getCertificateThumbprint());
    jwt = new Auth0Jwt(parser.parseClaimsJws(Jwts.builder().claim("https://myapp.example.com/cnf", "string").signWith(secretKey).compact()));
    assertNull(jwt.getCertificateThumbprint());
    // { "https://myapp.example.com/cnf": {} }
    jwt = new Auth0Jwt(parser.parseClaimsJws("eyJhbGciOiJIUzI1NiJ9.eyJodHRwczovL215YXBwLmV4YW1wbGUuY29tL2NuZiI6e319.E9C0TQFvCKFdxWpJ-Q4HzXLX6ySLt2XymbdMdebjcXU"));
    assertNull(jwt.getCertificateThumbprint());
    // { "https://myapp.example.com/cnf": { "x5t#S256": "cert_hash" } }
    jwt = new Auth0Jwt(parser.parseClaimsJws("eyJhbGciOiJIUzI1NiJ9.eyJodHRwczovL215YXBwLmV4YW1wbGUuY29tL2NuZiI6eyJ4NXQjUzI1NiI6ImNlcnRfaGFzaCJ9fQ.wGIpUNocgVjGUVSXgsO22dFzaG06NxB9aPIAz2FbC94"));
    assertEquals(jwt.getCertificateThumbprint(), "cert_hash");
}