public function testClear() { $this->app->expects($this->once())->method('deleteCookie')->with('cookieName'); $this->cookie->clear(); }