@Test
public void testNoCookieStore() throws Exception {

    HttpResponse response = new BasicHttpResponse(HttpVersion.HTTP_1_1, 200, "OK");
    response.addHeader(SM.SET_COOKIE, "name1=value1");
    HttpContext context = new BasicHttpContext();
    context.setAttribute(ClientContext.COOKIE_ORIGIN, this.cookieOrigin);
    context.setAttribute(ClientContext.COOKIE_SPEC, this.cookieSpec);
    context.setAttribute(ClientContext.COOKIE_STORE, null);
    HttpResponseInterceptor interceptor = new ResponseProcessCookies();
    interceptor.process(response, context);
    List<Cookie> cookies = this.cookieStore.getCookies();
    Assert.assertNotNull(cookies);
    Assert.assertEquals(0, cookies.size());
}