public function renderUsesProvidedPersistentResourceInsteadOfPackageAndPath()
{
$resource = new PersistentResource();
$this->mockResourceManager->expects($this->atLeastOnce())->method('getPublicPersistentResourceUri')->with($resource)->will($this->returnValue('TheCorrectResourceUri'));
$resourceUri = $this->viewHelper->render(null, null, $resource, false);
$this->assertEquals('TheCorrectResourceUri', $resourceUri);
}