RestTestClient
provides similar features as WebTestClient
for imperative scenarios using RestClient
. We should update our test configuration so that:
- It can be bound to MockMvc in a mocked environment
- It can be bound to a running server for integration tests on a running server.