Issue
Hopefully someone can help. I've been following this [online resource][1], attempting to write an integration test for a RestController:
@Test
public void obfiscated() throws Exception {
SearchRequest autoCompleteSearchrequest = new SearchRequest();
autoCompleteSearchrequest.setCity("somewheresville");
Solution
Despite my, admittedly false, belief that this is taken care of by the @SpringBootTest annotation; I took advice found in another question, and added @EnableWebMvc at class level for my test, and that fixed it.
Answered By - HellishHeat
Answer Checked By - Marie Seifert (JavaFixing Admin)