### Question:
GatewayConfig { @Bean public GatewayConfigProperties getGatewayConfigProperties(@Value("${apiml.gateway.hostname}") String hostname, @Value("${apiml.service.port}") String port, @Value("${apiml.service.scheme}") String scheme) { return GatewayConfigProperties.builder().scheme(scheme).hostname(hostname + ":" + port).build(); }  @Bean GatewayConfigProperties getGatewayConfigProperties(@Value("${apiml.gateway.hostname}") String hostname,
            @Value("${apiml.service.port}") String port, @Value("${apiml.service.scheme}") String scheme); @Bean @Autowired SimpleHostRoutingFilter simpleHostRoutingFilter2(ProxyRequestHelper helper, ZuulProperties zuulProperties,
            @Qualifier("secureHttpClientWithoutKeystore") CloseableHttpClient secureHttpClientWithoutKeystore);  }### Answer:
@Test void shouldReturnGatewayProperties() { GatewayConfigProperties gatewayConfigProperties = new GatewayConfig().getGatewayConfigProperties(HOST, PORT, SCHEME); assertEquals(HOST + ":" + PORT, gatewayConfigProperties.getHostname()); assertEquals(SCHEME, gatewayConfigProperties.getScheme()); }