public static final String validInitialHeader = "GET /some/path HTTP/1.1";
@Test
public void testValidInitialHeader()
{
HTTPRequestHeaders headers = new HTTPRequestHeaders(validInitialHeader);
assertEquals("GET", headers.getMethod());
assertEquals("/some/path", headers.getPath());
assertEquals("HTTP/1.1", headers.getVersion());
}