@Test
void bearerAuth() {

    var request = new HTTPRequest(HTTPMethod.GET, "http://localhost/uri");
    request.bearerAuth("token");
    assertThat(request.headers).containsEntry(HTTPHeaders.AUTHORIZATION, "Bearer token");
}