public function CacheTest::testFileSystemCache in Auth0 Single Sign On 8.2
File
- vendor/
auth0/ auth0-php/ tests/ Helpers/ Cache/ CacheTest.php, line 22
Class
Namespace
Auth0\Tests\Helpers\CacheCode
public function testFileSystemCache() {
$cache = new FileSystemCacheHandler();
$this
->assertNull($cache
->get('pepe'));
$cache
->set('pepe', 'lala');
$this
->assertEquals('lala', $cache
->get('pepe'));
$cache
->delete('pepe');
$this
->assertNull($cache
->get('pepe'));
}