Integration Testing with a fake server
问题 I have a service which connects to a set of api's which i want to test. I would like to make a Fake Service for my integration tests (to simulate failure situations) I cannot simply use @RestController as they are not loaded during a test, and I looked into mockserver but I am unsure if it is what I am looking for, as I do not want my test to trigger a mock call, but rather my code should trigger the api call normally, simply using the mock server rather than an actual server (the base url is