/** * @dataProvider pathProvider * * @param $path * @param $asset * @param $url */ public function testGetBasePath($path, $asset, $url) { $this->assetsHelperMock->expects($this->once())->method('getUrl')->with($this->equalTo($path))->will($this->returnValue($asset)); $this->assertSame($url, $this->helper->getBasePath($path)); }
/** * @param $path * * @return mixed */ public function renderBasePath($path) { return $this->helper->getBasePath($path); }