@Test
public void testInvalidIssuerValueException_invalidIssuerName() throws Exception {

  @Api(issuers = {@ApiIssuer})
  final class Endpoint { }
  ApiConfig config = configLoader.loadConfiguration(ServiceContext.create(), Endpoint.class);
  try {
    validator.validate(config);
  } catch (InvalidIssuerValueException.ForApi e) {
    assertThat(e.getMessage()).contains("issuer name cannot be blank");
  }
}