}
Assert.assertNotNull(httprequest);
Assert.assertEquals(5, timeoutCount);
@SuppressWarnings("null") // httprequest cannot be null here
RequestLine reqline = httprequest.getRequestLine();
Assert.assertNotNull(reqline);
Assert.assertEquals("GET", reqline.getMethod());
Assert.assertEquals("/", reqline.getUri());
Assert.assertEquals(HttpVersion.HTTP_1_1, reqline.getProtocolVersion());
Header[] headers = httprequest.getAllHeaders();
Assert.assertEquals(3, headers.length);
}