コード例 #1
0
ファイル: ClassCacheTest.php プロジェクト: nevvermind/zf2
 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
ファイル: CallbackCacheTest.php プロジェクト: nevvermind/zf2
 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));
 }