@BeforeEach
	void setup() {
		ClientResponse mockResponse = mock();
		when(mockResponse.statusCode()).thenReturn(HttpStatus.OK);
		when(mockResponse.bodyToMono(Void.class)).thenReturn(Mono.empty());
		given(exchangeFunction.exchange(captor.capture())).willReturn(Mono.just(mockResponse));

		transportClientFatory = new WebClientTransportClientFactory(
				() -> WebClient.builder().exchangeFunction(exchangeFunction));
	}
@author Daniel Lavoie
@author Armin Krezovic
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/http/WebClientTransportClientFactoryTest.java