public testRender ( array $expectArray = [] ) | ||
$expectArray | array |
public function testRender($expectArray = [])
{
/* setup */
$recoverForm = new View\RecoverForm($this->_registry, $this->_language);
/* actual */
$actual = $recoverForm->render();
/* compare */
$this->assertStringStartsWith($expectArray['start'], $actual);
$this->assertStringEndsWith($expectArray['end'], $actual);
}