You are here

protected property CsrfTokenGeneratorTest::$privateKey in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::privateKey
  2. 9 core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php \Drupal\Tests\Core\Access\CsrfTokenGeneratorTest::privateKey

The mock private key instance.

Type: \Drupal\Core\PrivateKey|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php, line 30

Class

CsrfTokenGeneratorTest
Tests the CsrfTokenGenerator class.

Namespace

Drupal\Tests\Core\Access

Code

protected $privateKey;