MCPcopy Index your code
hub / github.com/auth0/java-jwt / shouldGetStringToken

Method shouldGetStringToken

lib/src/test/java/com/auth0/jwt/JWTTest.java:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58 // getToken
59 @Test
60 public void shouldGetStringToken() {
61 DecodedJWT jwt = JWT.decode("eyJhbGciOiJIUzI1NiJ9.e30.XmNK3GpH3Ys_7wsYBfq4C3M6goz71I7dTgUkuIa5lyQ");
62 assertThat(jwt, is(notNullValue()));
63 assertThat(jwt.getToken(), is(notNullValue()));
64 assertThat(jwt.getToken(), is("eyJhbGciOiJIUzI1NiJ9.e30.XmNK3GpH3Ys_7wsYBfq4C3M6goz71I7dTgUkuIa5lyQ"));
65 }
66
67 // getToken
68 @Test

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.95
getTokenMethod · 0.95

Tested by

no test coverage detected