@Bean
		public RestClientDiscoveryClientOptionalArgs forceRestClientDiscoveryClientOptionalArgs(
				TlsProperties tlsProperties,
				EurekaClientHttpRequestFactorySupplier eurekaClientHttpRequestFactorySupplier)
				throws GeneralSecurityException, IOException {
			RestClientDiscoveryClientOptionalArgs result = new RestClientDiscoveryClientOptionalArgs(
					eurekaClientHttpRequestFactorySupplier, RestClient::builder);
			setupTLS(result, tlsProperties);
			return result;
		}
Tests for verifying TLS setup with {@link RestClientTransportClientFactories}.

@author Olga Maciaszek-Sharma
spring-cloud-netflix-eureka-client-tls-tests/src/test/java/org/springframework/cloud/netflix/eureka/RestClientEurekaClientTests.java