Beispiel #1
0
 /**
  */
 public function test_saveDeffered()
 {
     $item = \Mockery::mock('Dspacelabs\\Component\\Cache\\CacheItemInterface');
     $this->adapter->shouldReceive('saveItem')->once()->with($item);
     $this->pool->saveDeffered($item);
     $this->pool->commit();
 }