@Test
@DisplayName("should parse 101 successfully.")
void test101SwitchingProtocols() {

    ByteBuffer buffer1 = BufferUtils.toBuffer("HTTP/1.1 101 Switching Protocols\r\n\r\n");
    HttpParser.ResponseHandler handler = new Handler();
    HttpParser parser = new HttpParser(handler);
    parser.parseNext(buffer1);
    assertEquals(-1, headers);
    assertTrue(headerCompleted);
    assertTrue(messageCompleted);
}