public function testGetJsPath() { $this->assetsHelperMock->expects($this->once())->method('getUrl')->with($this->equalTo('foo'))->will($this->returnValue('bar')); $this->assertSame('bar', $this->helper->getJsPath('foo')); }
/** * @param $path * * @return string */ public function renderJsPath($path) { return $this->helper->getJsPath($path); }