@Test
public void testConvertFromMessageConnectionHeader() throws Exception {

    thrown.expect(HttpException.class);
    thrown.expectMessage("Header 'Connection: Keep-Alive' is illegal for HTTP/2 messages");
    final HttpResponse response = new BasicHttpResponse(200);
    response.addHeader("Connection", "Keep-Alive");
    final DefaultH2ResponseConverter converter = new DefaultH2ResponseConverter();
    converter.convert(response);
}