Exemplo n.º 1
0
 public function setUp()
 {
     $this->_adapter = new MockAdapter();
     $this->_options = new Cache\Storage\Plugin\PluginOptions();
     $this->_plugin = new Cache\Storage\Plugin\ExceptionHandler();
     $this->_plugin->setOptions($this->_options);
     parent::setUp();
 }
 public function setUp()
 {
     $this->_adapter = new ClearExpiredMockAdapter();
     $this->_options = new Cache\Storage\Plugin\PluginOptions(array('clearing_factor' => 1));
     $this->_plugin = new Cache\Storage\Plugin\ClearExpiredByFactor();
     $this->_plugin->setOptions($this->_options);
     parent::setUp();
 }