@Test
void parseBodyWithForm() throws Throwable {

    var request = new RequestImpl(null, null);
    var exchange = new HttpServerExchange(null);
    var form = new FormData(3);
    form.add("k1", "v1");
    form.add("k2", "v2");
    form.add("file", new byte[0], "file", new HeaderMap());
    exchange.putAttachment(FormDataParser.FORM_DATA, form);
    parser.parseBody(request, exchange);
    assertThat(request.formParams).containsKeys("k1", "k2");
    assertThat(request.files).containsKeys("file");
}