@Test
public void shouldParseCookieHavingUrlEncodedValue() throws MalformedInputException {

    String value = "&<>some value";
    Map<String, Cookie> cookies = cookieParser.parse("name=" + StringUtilities.urlEncode(value));
    assertThat(cookies, hasKey("name"));
    assertThat(cookies.get("name").getValue(), is(value));
}