render() public method

render the view
Since: 3.0.0
public render ( integer $articleId = null ) : string
$articleId integer identifier of the article
return string
 /**
  * testRender
  *
  * @since 3.0.0
  *
  * @param array $registryArray
  * @param integer $articleId
  * @param array $expectArray
  *
  * @dataProvider providerRender
  */
 public function testRender($registryArray = [], $articleId = null, $expectArray = [])
 {
     /* setup */
     $this->_registry->init($registryArray);
     $articleForm = new Admin\View\ArticleForm($this->_registry, $this->_language);
     /* actual */
     $actual = $articleForm->render($articleId);
     /* compare */
     $this->assertStringStartsWith($expectArray['start'], $actual);
     $this->assertStringEndsWith($expectArray['end'], $actual);
 }