Find MockMvc usages that can all migrate to MockMvcTester
ProprietaryMarks source files that use MockMvc only in ways that can migrate to MockMvcTester: fields and local variables set up through MockMvcBuilders, and perform(..) calls with a MockMvcRequestBuilders request followed by andExpect(..) or andDo(..) as a statement. Source files that share a MockMvc field are only marked when all of them qualify, so that a field never changes type while some of its usages are left behind.
io. moderne. java. spring. boot4. IsMigratableToMockMvcTestermod run . --recipe= io. moderne. java. spring. boot4. IsMigratableToMockMvcTesterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.