Ejemplo n.º 1
0
 public function testGetUnsetCacheValue()
 {
     $this->cache->cache(array(1, 2), 'test1');
     $this->cache->cache(array(1), 'test2');
     $value = $this->cache->geCacheValue(array(1, 1));
     $this->assertNull($value);
 }
Ejemplo n.º 2
0
 /**
  * @expectedException \cheeseCache\exceptions\InvalidCacheParameter
  */
 public function testClearCache()
 {
     $this->cache->clearCache(array(1, cheeseCacheApp\Cache::RESERVED_CACHE_KEY));
 }