As documented in the wiki, JUnit5 and AssertJ are required to be used, but MockMvcResultMatchers
drags in Hamcrest, which is an older assertion library.
There should be an alternative/replacement that doesn't drag in a Hamcrest dependency, especially for projects that made efforts to move away from it.
Comment From: snicoll
Thanks for the suggestion but that was raised already.
Closing as a duplicate of #21178
Comment From: soc
Thank you, @snicoll!