You are here

public function CacheTest::testNoCache in Auth0 Single Sign On 8.2

File

vendor/auth0/auth0-php/tests/Helpers/Cache/CacheTest.php, line 9

Class

CacheTest

Namespace

Auth0\Tests\Helpers\Cache

Code

public function testNoCache() {
  $cache = new NoCacheHandler();
  $this
    ->assertNull($cache
    ->get('pepe'));
  $cache
    ->set('pepe', 'lala');
  $this
    ->assertNull($cache
    ->get('pepe'));
  $cache
    ->delete('pepe');
  $this
    ->assertNull($cache
    ->get('pepe'));
}