@Test void httpClient() { SecurityConfig.HttpClient httpClient = config.httpClient(); List<String> applyUrls = new ArrayList<>(httpClient.applyUrls()); List<String> expectedApplyUrls = new ArrayList<>(); expectedApplyUrls.add("/work/*"); expectedApplyUrls.add("/message/*"); expectedApplyUrls.add("/test/*"); Collections.sort(applyUrls); Collections.sort(expectedApplyUrls); assertThat(applyUrls, is(expectedApplyUrls)); List<String> ignoreUrls = new ArrayList<>(httpClient.ignoreUrls()); List<String> expectedIgnoreUrls = new ArrayList<>(); expectedIgnoreUrls.add("/message/channel/*"); expectedIgnoreUrls.add("/work/profile/*"); Collections.sort(ignoreUrls); Collections.sort(expectedIgnoreUrls); assertThat(ignoreUrls, is(expectedIgnoreUrls)); }
@Override public HttpClient httpClient() { return httpClient; }
SecurityConfigImpl implements SecurityConfig { @Override public HttpClient httpClient() { return httpClient; } }
SecurityConfigImpl implements SecurityConfig { @Override public HttpClient httpClient() { return httpClient; }  }
SecurityConfigImpl implements SecurityConfig { @Override public HttpClient httpClient() { return httpClient; }  @Override List<String> applyUrls(); @Override List<String> ignoreUrls(); @Override SecurityFilter securityFilter(); @Override boolean isSkipRefererCheck(); @Override Redirect redirect(); @Override IdentityProvider identityProvider(); @Override Boolean useReferAsRedirectUri(); @Override String publicKeysStorage(); @Override String tokenStorage(); @Override StorageImpl storage(); @Override TokenValidation tokenValidation(); @Override Stub stub(); @Override HttpClient httpClient(); @Override Application application(); @Override String errorDescriptionLink(); List<String> getApplyUrls(); void setApplyUrls(List<String> applyUrls); List<String> getIgnoreUrls(); void setIgnoreUrls(List<String> ignoreUrls); void setSecurityFilter(SecurityFilterImpl securityFilter); void setSkipRefererCheck(boolean skipRefererCheck); void setRedirect(RedirectImpl redirect); IdentityProviderImpl getIdentityProvider(); void setIdentityProvider(IdentityProviderImpl identityProvider); Boolean getUseReferAsRedirectUri(); void setUseReferAsRedirectUri(Boolean useReferAsRedirectUri); String getPublicKeysStorage(); void setPublicKeysStorage(String publicKeysStorage); String getTokenStorage(); void setTokenStorage(String tokenStorage); void setStorage(StorageImpl storage); void setTokenValidation(TokenValidationImpl tokenValidation); void setStub(StubImpl stub); void setHttpClient(HttpClientImpl httpClient); void setApplication(ApplicationImpl application); void setErrorDescriptionLink(String errorDescriptionLink); @Override String toString(); }
SecurityConfigImpl implements SecurityConfig { @Override public HttpClient httpClient() { return httpClient; }  @Override List<String> applyUrls(); @Override List<String> ignoreUrls(); @Override SecurityFilter securityFilter(); @Override boolean isSkipRefererCheck(); @Override Redirect redirect(); @Override IdentityProvider identityProvider(); @Override Boolean useReferAsRedirectUri(); @Override String publicKeysStorage(); @Override String tokenStorage(); @Override StorageImpl storage(); @Override TokenValidation tokenValidation(); @Override Stub stub(); @Override HttpClient httpClient(); @Override Application application(); @Override String errorDescriptionLink(); List<String> getApplyUrls(); void setApplyUrls(List<String> applyUrls); List<String> getIgnoreUrls(); void setIgnoreUrls(List<String> ignoreUrls); void setSecurityFilter(SecurityFilterImpl securityFilter); void setSkipRefererCheck(boolean skipRefererCheck); void setRedirect(RedirectImpl redirect); IdentityProviderImpl getIdentityProvider(); void setIdentityProvider(IdentityProviderImpl identityProvider); Boolean getUseReferAsRedirectUri(); void setUseReferAsRedirectUri(Boolean useReferAsRedirectUri); String getPublicKeysStorage(); void setPublicKeysStorage(String publicKeysStorage); String getTokenStorage(); void setTokenStorage(String tokenStorage); void setStorage(StorageImpl storage); void setTokenValidation(TokenValidationImpl tokenValidation); void setStub(StubImpl stub); void setHttpClient(HttpClientImpl httpClient); void setApplication(ApplicationImpl application); void setErrorDescriptionLink(String errorDescriptionLink); @Override String toString();  }