@Test
public void testConvertFromMessageConnectWithPath() throws Exception {

    thrown.expect(HttpException.class);
    thrown.expectMessage("CONNECT request path must be null");
    final HttpRequest request = new BasicHttpRequest("CONNECT", "/");
    request.setAuthority(new URIAuthority("host"));
    request.addHeader("Custom123", "Value");
    final DefaultH2RequestConverter converter = new DefaultH2RequestConverter();
    converter.convert(request);
}