@Test
void testResponseParse1() {

    ByteBuffer buffer = BufferUtils.toBuffer(
            "HTTP/1.1 304 Not-Modified\r\n"
                    + "Connection: close\r\n"
                    + "\r\n");
    HttpParser.ResponseHandler handler = new Handler();
    HttpParser parser = new HttpParser(handler);
    parser.parseNext(buffer);
    assertEquals("HTTP/1.1", methodOrVersion);
    assertEquals("304", uriOrStatus);
    assertEquals("Not-Modified", versionOrReason);
    assertTrue(headerCompleted);
    assertTrue(messageCompleted);
}