This commits makes sure that customizations on `DispatcherServlet` are also applied to the `TestDispatcherServlet` that `MockMvc` is using internally. Closes gh-5891
This commits makes sure that customizations on `DispatcherServlet` are also applied to the `TestDispatcherServlet` that `MockMvc` is using internally. Closes gh-5891