public function testRenderBasePath() { $this->assetsHelperMock->expects($this->once())->method('getUrl')->with($this->equalTo('foo'), $this->equalTo(null))->will($this->returnValue('bar')); $this->assetsVersionTrimerHelperMock->expects($this->once())->method('trim')->with($this->equalTo('bar'))->will($this->returnValue('baz')); $this->assertSame('baz', $this->helper->renderBasePath('foo')); }