/** * Renders the js path. * * @param string $jsPath The js path. * * @return string The rendered js path. */ public function renderJsPath($jsPath) { return $this->helper->renderJsPath($jsPath); }
public function testRenderJsPath() { $this->assetsHelperMock->expects($this->once())->method('getUrl')->with($this->equalTo('foo'))->will($this->returnValue('bar')); $this->assertSame('bar', $this->helper->renderJsPath('foo')); }