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');
}