@Test
void testResponseParse4() {

    ByteBuffer buffer = BufferUtils.toBuffer(
            "HTTP/1.1 200 \r\n"
                    + "Content-Length: 10\r\n"
                    + "Content-Type: text/plain\r\n"
                    + "\r\n"
                    + "0123456789\r\n");
    HttpParser.ResponseHandler handler = new Handler();
    HttpParser parser = new HttpParser(handler);
    parser.parseNext(buffer);
    assertEquals("HTTP/1.1", methodOrVersion);
    assertEquals("200", uriOrStatus);
    assertNull(versionOrReason);
    assertEquals(content.length(), 10);
    assertTrue(headerCompleted);
    assertTrue(messageCompleted);
}