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\KernelCode
public function testInvalidKeyIsNull() {
$this
->assertNull($this->container
->get('akamai.key_provider')
->getKey('some_invalid_key'));
}