Neos\Fusion\Tests\Unit\Core\RuntimeTest::evaluateWithCacheModeUncachedAndUnspecifiedContextThrowsException PHP Метод

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

    public function evaluateWithCacheModeUncachedAndUnspecifiedContextThrowsException()
    {
        $mockControllerContext = $this->getMockBuilder(ControllerContext::class)->disableOriginalConstructor()->getMock();
        $runtime = new Runtime(array('foo' => array('bar' => array('__meta' => array('cache' => array('mode' => 'uncached'))))), $mockControllerContext);
        $runtime->evaluate('foo/bar');
    }