@Test
public void testConvertFromFieldsUnknownPseudoHeader() throws Exception {

    thrown.expect(HttpException.class);
    thrown.expectMessage("Unsupported response header ':custom'");
    final List<Header> headers = Arrays.<Header>asList(
            new BasicHeader(":status", "200"),
            new BasicHeader(":custom", "200"),
            new BasicHeader("location", "http://www.example.com/"),
            new BasicHeader("custom1", "value"));
    final DefaultH2ResponseConverter converter = new DefaultH2ResponseConverter();
    converter.convert(headers);
}