Andy Wilkinson opened SPR-15375 and commented
It would make debugging of MockMvc-based tests easier if HeaderValueHolder implemented toString(). As things stand, when looking at the headers of a MockHttpServletRequest I can see this:
{Accept=org.springframework.mock.web.HeaderValueHolder@3bc20984}
To get the actual value(s) of the header I have to drill down into the specific entry of the underlying LinkedHashMap.
No further details from SPR-15375