Neos\Flow\Tests\Unit\Mvc\Routing\RouterCachingServiceTest::storeResolvedUriPathConvertsObjectsToHashesToGenerateCacheIdentifier PHP Method

storeResolvedUriPathConvertsObjectsToHashesToGenerateCacheIdentifier() public method

    public function storeResolvedUriPathConvertsObjectsToHashesToGenerateCacheIdentifier()
    {
        $mockObject = new \stdClass();
        $routeValues = ['b' => 'route values', 'someObject' => $mockObject];
        $cacheIdentifier = '264b593d59582adea4ccc52b33cc093f';
        $this->mockPersistenceManager->expects($this->once())->method('getIdentifierByObject')->with($mockObject)->will($this->returnValue('objectIdentifier'));
        $matchingUriPath = 'uncached/matching/uri';
        $this->mockResolveCache->expects($this->once())->method('set')->with($cacheIdentifier, $matchingUriPath);
        $this->routerCachingService->storeResolvedUriPath($matchingUriPath, $routeValues);
    }