After upgrading to spring framework 5.3(5.3.7) the useSuffixPatternMatch default value in RequestMappingHandlerMapping was finally changed to false according to #23915 (comment) but the default value of useSuffixPatternMatch in StandaloneMockMvcBuilder is still set to true, forcing test cases to explicitly call the deprecated setUseSuffixPatternMatch method of StandaloneMockMvcBuilder to match the default behavior in RequestMappingHandlerMapping. I was expecting that StandaloneMockMvcBuilder should have the same behavior as RequestMappingHandlerMapping and also like to avoid calling deprecated methods in my code.