@Test public void testSecurityOauth2Audience() { JHipsterProperties.Security.OAuth2 obj = properties.getSecurity().getOauth2(); assertThat(obj).isNotNull(); assertThat(obj.getAudience()).isNotNull().isEmpty(); obj.setAudience(Arrays.asList("default", "account")); assertThat(obj.getAudience()).isNotEmpty().size().isEqualTo(2); assertThat(obj.getAudience()).contains("default", "account"); }
public Security getSecurity() { return security; }
JHipsterProperties { public Security getSecurity() { return security; } }
JHipsterProperties { public Security getSecurity() { return security; }  }
JHipsterProperties { public Security getSecurity() { return security; }  Async getAsync(); Http getHttp(); Database getDatabase(); Cache getCache(); Mail getMail(); Registry getRegistry(); Security getSecurity(); ApiDocs getApiDocs(); Metrics getMetrics(); Logging getLogging(); CorsConfiguration getCors(); Social getSocial(); Gateway getGateway(); ClientApp getClientApp(); AuditEvents getAuditEvents(); }
JHipsterProperties { public Security getSecurity() { return security; }  Async getAsync(); Http getHttp(); Database getDatabase(); Cache getCache(); Mail getMail(); Registry getRegistry(); Security getSecurity(); ApiDocs getApiDocs(); Metrics getMetrics(); Logging getLogging(); CorsConfiguration getCors(); Social getSocial(); Gateway getGateway(); ClientApp getClientApp(); AuditEvents getAuditEvents();  }