public function createCacheSegmentWithInvalidEntryIdentifierValueThrowsException($entryIdentifierValues) { $contentCache = new ContentCache(); $mockSecurityContext = $this->createMock(Context::class); $this->inject($contentCache, 'securityContext', $mockSecurityContext); $contentCache->createCacheSegment('My content', '/foo/bar', $entryIdentifierValues); }