public function KeyRepositoryAvailableTest::testCanGetSpecificKey in Akamai 8.3
Tests that KeyProvider::getKey() retrieves specific key.
File
- tests/
src/ Kernel/ KeyRepositoryAvailableTest.php, line 71
Class
- KeyRepositoryAvailableTest
- Tests key provider functionality with key module is installed.
Namespace
Drupal\Tests\akamai\KernelCode
public function testCanGetSpecificKey() {
$this
->assertEquals($this->container
->get('akamai.key_provider')
->getKey('second_key'), 'Yet another key');
}