assertEquals(cookies.get(0), expectedCookie);
}
private CookiesImpl createCookiesFixture(String contextPath, final List<Cookie> cookies)
{
return new CookiesImpl(new TestableRequestImpl(contextPath), null, new CookieSink()
{
public void addCookie(Cookie cookie)
{
cookies.add(cookie);
}