@Test
public void testConvertFromFieldsMissingStatus() throws Exception {

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