public function render($value = null) { return self::renderStatic(array('value' => $value), $this->buildRenderChildrenClosure(), $this->renderingContext); }
/** * @test */ public function renderRendersObjectWithToStringMethod() { $source = new Uri('http://typo3.com/foo&bar=1'); $actualResult = $this->viewHelper->render($source); $this->assertEquals(urlencode('http://typo3.com/foo&bar=1'), $actualResult); }