Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Uri\ResourceViewHelperTest::renderThrowsExceptionIfResourceUriNotPointingToPublicWasGivenAsPath PHP 메소드

renderThrowsExceptionIfResourceUriNotPointingToPublicWasGivenAsPath() 공개 메소드

    public function renderThrowsExceptionIfResourceUriNotPointingToPublicWasGivenAsPath()
    {
        $this->mockResourceManager->expects($this->once())->method('getPackageAndPathByPublicPath')->with('resource://Some.Package/Private/foobar.txt')->willThrowException(new Exception());
        $this->viewHelper->render('resource://Some.Package/Private/foobar.txt', 'SomePackage');
    }