@Test
void testGetHeaderNames() {

    TestHttpServletResponse wrapped = new TestHttpServletResponse(null);
    HttpServletResponseWrapper wrapper = new HttpServletResponseWrapper(wrapped);
    wrapper.addIntHeader("int", 1);
    assertNotNull(wrapper.getHeaderNames());
    assertEquals(1, wrapper.getHeaderNames().size());
}