### Question:
JWTDecoder implements DecodedJWT, Serializable { @Override public String getId() { return payload.getId(); } JWTDecoder(String jwt);   JWTDecoder(JWTParser converter, String jwt); @Override String getAlgorithm(); @Override String getType(); @Override String getContentType(); @Override String getKeyId(); @Override Claim getHeaderClaim(String name); @Override String getIssuer(); @Override String getSubject(); @Override List<String> getAudience(); @Override Date getExpiresAt(); @Override Date getNotBefore(); @Override Date getIssuedAt(); @Override String getId(); @Override Claim getClaim(String name); @Override Map<String, Claim> getClaims(); @Override String getHeader(); @Override String getPayload(); @Override String getSignature(); @Override String getToken();  }### Answer:
@Test public void shouldGetId() throws Exception { DecodedJWT jwt = JWT.decode("eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIxMjM0NTY3ODkwIn0.m3zgEfVUFOd-CvL3xG5BuOWLzb0zMQZCqiVNQQOPOvA"); assertThat(jwt, is(notNullValue())); assertThat(jwt.getId(), is("1234567890")); }