You are here

public function KeyRepositoryAvailableTest::testInvalidKeyIsNull in Akamai 8.3

Tests that KeyProvider::getKey() retrieves specific key.

File

tests/src/Kernel/KeyRepositoryAvailableTest.php, line 78

Class

KeyRepositoryAvailableTest
Tests key provider functionality with key module is installed.

Namespace

Drupal\Tests\akamai\Kernel

Code

public function testInvalidKeyIsNull() {
  $this
    ->assertNull($this->container
    ->get('akamai.key_provider')
    ->getKey('some_invalid_key'));
}