ApiIssuerAudienceConfig { public boolean isSpecified() { return !this.equals(UNSPECIFIED); } private  ApiIssuerAudienceConfig(ApiIssuerAudienceConfig.Builder builder); ImmutableMap<String, Collection<String>> asMap(); boolean isSpecified(); boolean isEmpty(); boolean hasIssuer(String issuer); ImmutableSet<String> getIssuerNames(); ImmutableSet<String> getAudiences(String issuer); @Override boolean equals(Object o); @Override int hashCode(); static Builder builder(); static final ApiIssuerAudienceConfig UNSPECIFIED; static final ApiIssuerAudienceConfig EMPTY; }
@Test public void isSpecified() { assertThat(ApiIssuerAudienceConfig.UNSPECIFIED.isSpecified()).isFalse(); assertThat(ApiIssuerAudienceConfig.builder().build().isSpecified()).isTrue(); }