@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());
}