@Test
public void testConvertFromMessageConnectMissingAuthority() throws Exception {

    thrown.expect(HttpException.class);
    thrown.expectMessage("CONNECT request authority is not set");
    final HttpRequest request = new BasicHttpRequest("CONNECT", null, null);
    request.addHeader("Custom123", "Value");
    final DefaultH2RequestConverter converter = new DefaultH2RequestConverter();
    converter.convert(request);
}