@Test
public void testGetLength() throws Exception {

    int length = httpHeaders1.getLength();
    assertEquals(length, 1024);
    int length2 = httpHeaders2.getLength();
    assertEquals(length2, -1);
}