// Path: src/main/java/com/webfluxclient/metadata/request/Request.java
// public interface Request {
//     
//     HttpMethod httpMethod();
//     
//     HttpHeaders headers();
//     
//     Map<String, Object> variables();
//     
//     BodyInserter<?, ? super ClientHttpRequest> bodyInserter();
//     
//     URI expand();
// }


import com.webfluxclient.metadata.request.Request;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
import org.mockito.Captor;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
import org.springframework.web.reactive.function.client.ClientRequest;
import org.springframework.web.reactive.function.client.ExchangeFunction;
import org.springframework.web.reactive.function.client.WebClient;
import reactor.core.publisher.Mono;
import java.net.URI;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.*;
package com.webfluxclient.client;





@RunWith(MockitoJUnitRunner.class)
public class DefaultRequestExecutorTest {
    @Mock
    private ExchangeFunction exchangeFunction;
    @Captor
    private ArgumentCaptor<ClientRequest> captor;
    private DefaultRequestExecutor requestExecutor;
    @Before
    public void setup() throws Exception {
        requestExecutor = create();
        when(this.exchangeFunction.exchange(captor.capture())).thenReturn(Mono.empty());
    }

    @Test
    public void execute() {
// Path: src/main/java/com/webfluxclient/metadata/request/Request.java
// public interface Request {
//     
//     HttpMethod httpMethod();
//     
//     HttpHeaders headers();
//     
//     Map<String, Object> variables();
//     
//     BodyInserter<?, ? super ClientHttpRequest> bodyInserter();
//     
//     URI expand();
// }


// Path: src/test/java/com/webfluxclient/client/DefaultRequestExecutorTest.java
import com.webfluxclient.metadata.request.Request;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
import org.mockito.Captor;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpMethod;
import org.springframework.http.MediaType;
import org.springframework.web.reactive.function.client.ClientRequest;
import org.springframework.web.reactive.function.client.ExchangeFunction;
import org.springframework.web.reactive.function.client.WebClient;
import reactor.core.publisher.Mono;
import java.net.URI;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.*;

package com.webfluxclient.client;





@RunWith(MockitoJUnitRunner.class)
public class DefaultRequestExecutorTest {
    @Mock
    private ExchangeFunction exchangeFunction;
    @Captor
    private ArgumentCaptor<ClientRequest> captor;
    private DefaultRequestExecutor requestExecutor;
    @Before
    public void setup() throws Exception {
        requestExecutor = create();
        when(this.exchangeFunction.exchange(captor.capture())).thenReturn(Mono.empty());
    }

    @Test
    public void execute() {
        Request request = new MockRequest("http://example.ca", HttpMethod.GET);