Neos\Flow\Tests\Unit\Mvc\Routing\RouterCachingServiceTest::initializeFlushesCachesInDevelopmentContextIfRoutingSettingsWhereNotStoredPreviously PHP Метод

initializeFlushesCachesInDevelopmentContextIfRoutingSettingsWhereNotStoredPreviously() публичный Метод

    public function initializeFlushesCachesInDevelopmentContextIfRoutingSettingsWhereNotStoredPreviously()
    {
        $this->mockApplicationContext->expects($this->atLeastOnce())->method('isDevelopment')->will($this->returnValue(true));
        $this->mockRouteCache->expects($this->atLeastOnce())->method('get')->with('routingSettings')->will($this->returnValue(false));
        $this->mockRouteCache->expects($this->once())->method('flush');
        $this->mockResolveCache->expects($this->once())->method('flush');
        $this->routerCachingService->_call('initializeObject');
    }