@Test
public void validate_wrongJwtId_shouldThrow() throws Exception {

  ToBeSignedJwt token =
      new ToBeSignedJwt.Builder().setAlgorithm("HS256").setJwtId("blah").build();
  JwtValidator validator = new JwtValidator.Builder().setJwtId("123").build();
  assertThrows(JwtInvalidException.class, () -> validator.validate("HS256", token));
}