Code example for CookieManager

Methods: getCookieStore

0
    } 
 
    @Override 
    protected void setUp() throws Exception { 
        super.setUp(); 
        cookieManager = new CookieManager();
        cookieStore = cookieManager.getCookieStore();
    } 
 
    @Override 
    protected void tearDown() throws Exception { 
        cookieManager = null;
        cookieStore = null;
        super.tearDown(); 
    } 
 
}