@Test
void testSetStatus() {

    TestHttpServletResponse wrapped = new TestHttpServletResponse(null);
    HttpServletResponseWrapper wrapper = new HttpServletResponseWrapper(wrapped);
    wrapper.setStatus(301);
    assertEquals(301, wrapped.getStatus());
}