Migrate MockMvcRequestBuilders to MockMvcTester request methods
ProprietaryConverts 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. MockMvcRequestBuildersToMockMvcTestermod run . --recipe= io. moderne. java. spring. boot4. MockMvcRequestBuildersToMockMvcTesterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.