You are here

public function MemcacheCacheTest::testNoExpire in Plug 7

File

lib/doctrine/cache/tests/Doctrine/Tests/Common/Cache/MemcacheCacheTest.php, line 33

Class

MemcacheCacheTest

Namespace

Doctrine\Tests\Common\Cache

Code

public function testNoExpire() {
  $cache = $this
    ->_getCacheDriver();
  $cache
    ->save('noexpire', 'value', 0);
  sleep(1);
  $this
    ->assertTrue($cache
    ->contains('noexpire'), 'Memcache provider should support no-expire');
}