@Test
public void shouldParseCookieHavingSpaceInValue() throws MalformedInputException {

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