I have a Spring Boot application that exposes a rest API which internally acts as a http client for an external rest API.
My Junit test class is annotated with @SpringBootTest, so the application starts and expose their endpoints.
I can use HoverflyRule in Simulation mode to proxy requests to my application rest API, but it doesn't work for the restTemplate used by the application to get to the external endpoints. And that's just I want to test, how the application behave with simulated responses from the external API.
This scenario is not covered by hoverfly-java?, I'm totally wrong and confused?