Repository for demoing issue in Spring Boot test-rest-template
Run gradle build
to execute the test cases.
Have a look at the test sources to see the working MockMvc
tests compared to the TestRestTemplate
tests.
A StackOverflow question is also posted here