@Test public void setExpiration_success() throws Exception { Instant instant = Instant.now(); ToBeSignedJwt token = new ToBeSignedJwt.Builder().setExpiration(instant).build(); assertThat(token.getExpiration().getEpochSecond()).isEqualTo(instant.getEpochSecond()); }
Instant getExpiration() { return getInstant(JwtNames.CLAIM_EXPIRATION); }
ToBeSignedJwt { Instant getExpiration() { return getInstant(JwtNames.CLAIM_EXPIRATION); } }
ToBeSignedJwt { Instant getExpiration() { return getInstant(JwtNames.CLAIM_EXPIRATION); } private  ToBeSignedJwt(Builder builder); }
ToBeSignedJwt { Instant getExpiration() { return getInstant(JwtNames.CLAIM_EXPIRATION); } private  ToBeSignedJwt(Builder builder);  }
ToBeSignedJwt { Instant getExpiration() { return getInstant(JwtNames.CLAIM_EXPIRATION); } private  ToBeSignedJwt(Builder builder);   }