@Test
  public void testDecode_invalidToken_randoJwt() {
    // the JWT example token from jwt.io
    String jwt =
        "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c";
    Multimap<String, String> decoded = RegistryClient.decodeTokenRepositoryGrants(jwt);
    Assert.assertNull(decoded);
  }
Tests for {@link RegistryClient} around handling of Docker Registry Bearer Tokens.

<p>JWTs were generated from <a href="https://jwt.io">jwt.io</a>'s <em>JWT Debugger</em>. Set the
algorithm to HS256, and paste the JSON shown as the <em>Payload</em>.
jib-core/src/test/java/com/google/cloud/tools/jib/registry/DockerRegistryBearerTokenTest.java