@Test
public void validate_noAudienceInValidator_shouldThrow() throws Exception {

  ToBeSignedJwt unverified =
      new ToBeSignedJwt.Builder().setAlgorithm("HS256").addAudience("foo").build();
  JwtValidator validator = new JwtValidator.Builder().build();
  assertThrows(JwtInvalidException.class, () -> validator.validate("HS256", unverified));
}