Migrate MockMvcRequestBuilders to MockMvcTester request methods

Proprietary

Converts mockMvcTester.perform(get("/api").param("k","v")) to mockMvcTester.get().uri("/api").param("k","v").exchange(), removing the perform() wrapper and MockMvcRequestBuilders static method calls. Inside assertThat(..) the request is passed without exchange(), as AssertJ performs it.

io.moderne.java.spring.boot4.MockMvcRequestBuildersToMockMvcTester
mod run . --recipe=io.moderne.java.spring.boot4.MockMvcRequestBuildersToMockMvcTester

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.