public function testLoadHasCache()
{
$this->loggerMock->expects($this->never())->method($this->anything());
$cacheItemMock = $this->getMock('Stash\\Interfaces\\ItemInterface');
$this->cacheMock->expects($this->once())->method('getItem')->with('section', 33)->will($this->returnValue($cacheItemMock));
$cacheItemMock->expects($this->once())->method('isMiss')->will($this->returnValue(false));
$this->persistenceHandlerMock->expects($this->never())->method('sectionHandler');
$cacheItemMock->expects($this->once())->method('get')->will($this->returnValue(new SPISection(array('id' => 33, 'name' => 'Intranet', 'identifier' => 'intranet'))));
$cacheItemMock->expects($this->never())->method('set');
$handler = $this->persistenceCacheHandler->sectionHandler();
$handler->load(33);
}