()
| 330 | } |
| 331 | |
| 332 | @Test |
| 333 | public void shouldGetContentType() { |
| 334 | String token = "eyJhbGciOiJIUzI1NiIsImN0eSI6ImF3ZXNvbWUifQ.e30.AIm-pJDOaAyct9qKMlN-lQieqNDqc3d4erqUZc5SHAs"; |
| 335 | DecodedJWT jwt = JWT.require(Algorithm.HMAC256("secret")) |
| 336 | .build() |
| 337 | .verify(token); |
| 338 | |
| 339 | assertThat(jwt, is(notNullValue())); |
| 340 | assertThat(jwt.getContentType(), is("awesome")); |
| 341 | } |
| 342 | |
| 343 | @Test |
| 344 | public void shouldGetType() { |
nothing calls this directly
no test coverage detected