/** * @test */ public function getCacheIdentifierReturnsValidIdentifierWithCommasInMountPointParameter() { /** @var \TYPO3\CMS\Core\Cache\Frontend\AbstractFrontend $cacheFrontendMock */ $cacheFrontendMock = $this->getMockForAbstractClass(\TYPO3\CMS\Core\Cache\Frontend\AbstractFrontend::class, array(), '', false); $this->pageContextMock->sys_language_uid = 8; $this->pageContextMock->versioningWorkspaceId = 15; $this->pageContextMock->versioningPreview = true; $this->subject->__construct(42, '47-11,48-12', $this->pageContextMock); $this->assertTrue($cacheFrontendMock->isValidEntryIdentifier($this->subject->getCacheIdentifier())); }