@Test
public void testGetMDCValue_default_attributeName_set_in_http_request_too_long_length() throws ServletException {

    xTrackMDCPutFilter.init(mockFilterConfig);
    MockHttpServletRequest request = new MockHttpServletRequest();
    MockHttpServletResponse response = new MockHttpServletResponse();
    request.addHeader("X-Track",
            "12345678901234567890123456789012345678901234567890");
    String xTrack = xTrackMDCPutFilter.getMDCValue(request, response);
    assertThat(xTrack, is(notNullValue()));
    assertThat(xTrack, is("12345678901234567890123456789012"));
    assertThat(response.getHeader("X-Track"), is(
            "12345678901234567890123456789012"));
    assertThat((String) request.getAttribute("X-Track"), is(
            "12345678901234567890123456789012"));
}