public function PrivateKeyTest::testGetNoState in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/PrivateKeyTest.php \Drupal\Tests\Core\PrivateKeyTest::testGetNoState()
- 10 core/tests/Drupal/Tests/Core/PrivateKeyTest.php \Drupal\Tests\Core\PrivateKeyTest::testGetNoState()
Tests PrivateKey::get() with no private key from state.
File
- core/
tests/ Drupal/ Tests/ Core/ PrivateKeyTest.php, line 64
Class
- PrivateKeyTest
- Tests the PrivateKey class.
Namespace
Drupal\Tests\CoreCode
public function testGetNoState() {
$this
->assertIsString($this->privateKey
->get());
}