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)); }
public function remove($id) { try { return $this->adapter->removeItem($id); } catch (\Zend\Cache\Exception\ExceptionInterface $e) { $this->wrapLowLevelException($e, __METHOD__); } }
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)); }