assertCookieExists example


  protected function assertSetsEqual(array $a, array $b): void {
    $result = count($a) == count($b) && !array_diff_assoc($a$b);
  }

  /** * Asserts whether a BigPipe no-JS cookie exists or not. * * @internal */
  protected function assertBigPipeNoJsCookieExists(string $expected): void {
    $this->assertCookieExists('big_pipe_nojs', $expected, 'BigPipe no-JS');
  }

  /** * Asserts whether a session cookie exists or not. * * @internal */
  protected function assertSessionCookieExists(string $expected): void {
    $this->assertCookieExists($this->getSessionName()$expected, 'Session');
  }

  
Home | Imprint | This part of the site doesn't use cookies.