use of cn.taketoday.web.reactive.function.client.DefaultClientResponse in project today-framework by TAKETODAY.
the class DefaultClientResponseTests method createMocks.
@BeforeEach
public void createMocks() {
mockResponse = mock(ClientHttpResponse.class);
given(mockResponse.getHeaders()).willReturn(this.httpHeaders);
mockExchangeStrategies = mock(ExchangeStrategies.class);
defaultClientResponse = new DefaultClientResponse(mockResponse, mockExchangeStrategies, "", "", () -> null);
}
use of cn.taketoday.web.reactive.function.client.DefaultClientResponse in project today-infrastructure by TAKETODAY.
the class DefaultClientResponseTests method createMocks.
@BeforeEach
public void createMocks() {
mockResponse = mock(ClientHttpResponse.class);
given(mockResponse.getHeaders()).willReturn(this.httpHeaders);
mockExchangeStrategies = mock(ExchangeStrategies.class);
defaultClientResponse = new DefaultClientResponse(mockResponse, mockExchangeStrategies, "", "", () -> null);
}
Aggregations