@Test
void text() {

    var response = new HTTPResponse(200, Map.of(HTTPHeaders.CONTENT_TYPE, ContentType.TEXT_PLAIN.toString()), Strings.bytes("value"));
    assertThat(response.contentType.toString()).isEqualTo(ContentType.TEXT_PLAIN.toString());
    assertThat(response.text()).isEqualTo("value");
}