Create new Live Templates within your IDEA's Preferences -> Editor -> Live Templates
mockMvcGET
: Peform a MockMvc HTTP GET request.
org.springframework.test.web.servlet.MvcResult result = this.mockMvc
.perform(org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get($url$)
.header(org.springframework.http.HttpHeaders.ACCEPT, org.springframework.http.MediaType.APPLICATION_JSON))