@Test public void setNotBefore_success() throws Exception { Instant instant = Instant.now(); ToBeSignedJwt token = new ToBeSignedJwt.Builder().setNotBefore(instant).build(); assertThat(token.getNotBefore().getEpochSecond()).isEqualTo(instant.getEpochSecond()); }
Instant getNotBefore() { return getInstant(JwtNames.CLAIM_NOT_BEFORE); }
ToBeSignedJwt { Instant getNotBefore() { return getInstant(JwtNames.CLAIM_NOT_BEFORE); } }
ToBeSignedJwt { Instant getNotBefore() { return getInstant(JwtNames.CLAIM_NOT_BEFORE); } private  ToBeSignedJwt(Builder builder); }
ToBeSignedJwt { Instant getNotBefore() { return getInstant(JwtNames.CLAIM_NOT_BEFORE); } private  ToBeSignedJwt(Builder builder);  }
ToBeSignedJwt { Instant getNotBefore() { return getInstant(JwtNames.CLAIM_NOT_BEFORE); } private  ToBeSignedJwt(Builder builder);   }