@Test
public void testConvertFromMessageMissingPath() throws Exception {

    thrown.expect(HttpException.class);
    thrown.expectMessage("Request path is not set");
    final HttpRequest request = new BasicHttpRequest("GET", new HttpHost("host"), "/");
    request.addHeader("Custom123", "Value");
    request.setPath(null);
    final DefaultH2RequestConverter converter = new DefaultH2RequestConverter();
    converter.convert(request);
}