You are here

public function KeyRepositoryUnavailableTest::testHasKeyRepositoryIsFalse in Akamai 8.3

Tests that KeyProvider::hasKeyRepository() returns FALSE.

File

tests/src/Kernel/KeyRepositoryUnavailableTest.php, line 32

Class

KeyRepositoryUnavailableTest
Tests key provider functionality with key module is not installed.

Namespace

Drupal\Tests\akamai\Kernel

Code

public function testHasKeyRepositoryIsFalse() {
  $this
    ->assertFalse($this->container
    ->get('akamai.key_provider')
    ->hasKeyRepository());
}