You are here

public function PrivateKeyTest::testGetNoState in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 69
Contains \Drupal\Tests\Core\PrivateKeyTest.

Class

PrivateKeyTest
Tests the PrivateKey class.

Namespace

Drupal\Tests\Core

Code

public function testGetNoState() {
  $this
    ->assertInternalType('string', $this->privateKey
    ->get());
}