@Test
void testAddDateHeader() {

    TestHttpServletResponse wrapped = new TestHttpServletResponse(null);
    HttpServletResponseWrapper wrapper = new HttpServletResponseWrapper(wrapped);
    wrapper.addDateHeader("date", 0);
    assertEquals("0", wrapped.getHeader("date"));
}