use of org.keycloak.connections.httpclient.ProxyMappings.ProxyMapping in project keycloak by keycloak.
the class ProxyMappingsTest method shouldReturnProxy1ForConfiguredProxyMapping.
@Test
public void shouldReturnProxy1ForConfiguredProxyMapping() {
ProxyMapping proxy = proxyMappings.getProxyFor("account.google.com");
assertThat(proxy.getProxyHost(), is(notNullValue()));
assertThat(proxy.getProxyHost().getHostName(), is("proxy1"));
}
Aggregations