@Test
public void testGetCookies() throws Exception {

    Map<String, Cookie> cookieMap = httpHeaders1.getCookies();
    assertNotNull(cookieMap);
    assertEquals(cookieMap.size(), 1);
    assertTrue(cookieMap.containsKey("JSESSIONID"));
    assertEquals(cookieMap.get("JSESSIONID").getValue(), "3508015E4EF0ECA8C4B761FCC4BC1718");
    Map<String, Cookie> cookieMap2 = httpHeaders2.getCookies();
    assertEquals(cookieMap2.size(), 0);
}