예제 #1
0
 public function testGenerateKey()
 {
     $this->markTestIncomplete();
     $args = array('arg1', 2, 3.33, null);
     $this->_pattern->call('emptyMethod', $args);
     $this->assertEquals($this->_storage->getLastKey(), $this->_pattern->generateKey('emptyMethod', $args));
 }
예제 #2
0
 public function remove($id)
 {
     try {
         return $this->adapter->removeItem($id);
     } catch (\Zend\Cache\Exception\ExceptionInterface $e) {
         $this->wrapLowLevelException($e, __METHOD__);
     }
 }
예제 #3
0
 public function testGenerateKey()
 {
     $this->markTestIncomplete();
     $callback = __NAMESPACE__ . '\\TestCallbackCache::emptyMethod';
     $args = array('arg1', 2, 3.33, null);
     $this->_pattern->call($callback, $args);
     $this->assertEquals($this->_storage->getLastKey(), $this->_pattern->generateKey($callback, $args));
 }