public void testClear() {
HeaderGroup headergroup = new HeaderGroup();
headergroup.addHeader(new BasicHeader("name", "value"));
assertEquals(1, headergroup.getAllHeaders().length);
headergroup.clear();
assertEquals(0, headergroup.getAllHeaders().length);
}
public void testAddRemoveHeader() {
HeaderGroup headergroup = new HeaderGroup();