@Test
public void testGetMDCValue_default_attributeName() throws ServletException {

    xTrackMDCPutFilter.init(mockFilterConfig);
    MockHttpServletRequest request = new MockHttpServletRequest();
    MockHttpServletResponse response = new MockHttpServletResponse();
    String xTrack = xTrackMDCPutFilter.getMDCValue(request, response);
    assertThat(xTrack, is(notNullValue()));
    assertThat(xTrack.matches("^[a-f0-9]{32}$"), is(true));
    assertThat(response.getHeader("X-Track"), is(xTrack));
    assertThat((String) request.getAttribute("X-Track"), is(xTrack));
}