예제 #1
0
 public function testGetDelayedThrowExceptionOnActiveStatement()
 {
     $this->assertTrue($this->_storage->setItem('key', 'value'));
     $this->assertTrue($this->_storage->getDelayed(array('key')));
     $this->setExpectedException('Zend\\Cache\\Exception');
     $this->_storage->getDelayed(array('key'));
 }