Can\'t figure out the correct way to use matchers to identify which overload of the exchange method I am targetting. The call I am making:
restTemplate.exchange(ur
Most likely you are using the when().then() pattern.
when().then()
Try the doReturn().when() approach with your matchers.
doReturn().when()
Just make sure you use matchers even for the params that you expect directly (use eq() for this).
Here is the issue and fix on project issue tracker.