@Test
public void testParseCookieString() {

    String header = "Set-Cookie: foo=\"bar\";Version=1";
    Map<String, Cookie> map = HttpUtils.parseCookieHeaderString(header);
    Match.equals(map, "{ foo: '#object' }"); // only one entry
    Match.contains(map.get("foo"), "{ name: 'foo', value: 'bar' }");
}