public function testGetFileBrowserPathHelper() { $this->routerMock->expects($this->once())->method('generate')->will($this->returnValue('bar')); $this->assertSame('bar', $this->helper->getFileBrowserPathHelper()); }
/** * @param $instance * * @return string */ public function renderFileBrowserPath($instance) { return $this->helper->getFileBrowserPathHelper($instance); }