25949 changed the test that caught https://github.com/spring-projects/spring-framework/issues/26775. We should introduce a similar test somewhere else.
Comment From: philwebb
I don't think we need this anymore. Spring Framework now has a test itself https://github.com/spring-projects/spring-framework/commit/a08593b44bada4f53797f991d89a21582eee4217#diff-ff0aa3bb310963690c22e140a7486d9a0adec43c355743883e1569805bd0c189