@Test
public void testConvertFromMessageInvalidHeader() throws Exception {

    thrown.expect(HttpException.class);
    thrown.expectMessage("Header name ':custom' is invalid");
    final HttpResponse response = new BasicHttpResponse(200);
    response.addHeader(":custom", "stuff");
    final DefaultH2ResponseConverter converter = new DefaultH2ResponseConverter();
    converter.convert(response);
}