@Test
void testSetStatus2() {

    TestHttpServletResponse wrapped = new TestHttpServletResponse(null);
    HttpServletResponseWrapper wrapper = new HttpServletResponseWrapper(wrapped);
    assertThrows(UnsupportedOperationException.class, () -> wrapper.setStatus(301, "Moved"));
}