Neos\Flow\Tests\Unit\Mvc\Routing\RouterCachingServiceTest::initializeObjectDoesNotFlushCachesInProductionContext PHP 메소드

initializeObjectDoesNotFlushCachesInProductionContext() 공개 메소드

    public function initializeObjectDoesNotFlushCachesInProductionContext()
    {
        $this->mockApplicationContext->expects($this->atLeastOnce())->method('isDevelopment')->will($this->returnValue(false));
        $this->mockRouteCache->expects($this->never())->method('get');
        $this->mockRouteCache->expects($this->never())->method('flush');
        $this->mockResolveCache->expects($this->never())->method('flush');
        $this->routerCachingService->_call('initializeObject');
    }