render() public method

render the view
Since: 3.0.0
public render ( array $optionArray = [] ) : string
$optionArray array options of the form
return string
 /**
  * testRender
  *
  * @since 3.0.0
  *
  * @param array $expectArray
  *
  * @dataProvider providerRender
  */
 public function testRender($expectArray = [])
 {
     /* setup */
     $installForm = new View\InstallForm($this->_registry, $this->_language);
     /* actual */
     $actual = $installForm->render();
     /* compare */
     $this->assertStringStartsWith($expectArray['start'], $actual);
     $this->assertStringEndsWith($expectArray['end'], $actual);
 }