public function clearCookies() { $this->cookieJar->clearAll(); return $this->withCookieParams($this->cookieJar->all()); }
public function testCanClearAllCookies() { $cookies = $this->cookies(); $cookieJar = new CookieJar($cookies); $cookieJar->clearAll(); $this->assertSame([], $cookieJar->all()); }