@Test
public void setIssuedAt_success() throws Exception {

  Instant instant = Instant.now();
  ToBeSignedJwt token = new ToBeSignedJwt.Builder().setIssuedAt(instant).build();
  assertThat(token.getIssuedAt().getEpochSecond()).isEqualTo(instant.getEpochSecond());
}