protected function setUp()
{
parent::setUp();
$this->persistenceHandlerMock = $this->getMock('eZ\\Publish\\SPI\\Persistence\\Handler');
$this->cacheMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Cache\\CacheServiceDecorator', array(), array(), '', false);
$this->loggerMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Cache\\PersistenceLogger');
$this->persistenceCacheHandler = new CacheHandler($this->persistenceHandlerMock, new CacheSectionHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheLocationHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheContentHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheContentLanguageHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheContentTypeHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheUserHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheTransactionHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheTrashHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheUrlAliasHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), new CacheObjectStateHandler($this->cacheMock, $this->persistenceHandlerMock, $this->loggerMock), $this->loggerMock, $this->cacheMock);
}