Migrate MockMvc andExpect() chains to AssertJ assertions
ProprietaryConverts MockMvc Hamcrest-style andExpect() assertion chains to AssertJ-style fluent assertions using assertThat(). Handles status, content, JSON path, header, redirect, and forward assertions, and keeps other result matchers and handlers through matches(..) and apply(..).
io. moderne. java. spring. boot4. MockMvcAssertionsToAssertJmod run . --recipe= io. moderne. java. spring. boot4. MockMvcAssertionsToAssertJInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.