/** * testRender * * @since 3.0.0 * * @param array $expectArray * * @dataProvider providerRender */ public function testRender($expectArray = []) { /* setup */ $loginForm = new View\LoginForm($this->_registry, $this->_language); /* actual */ $actual = $loginForm->render(); /* compare */ $this->assertStringStartsWith($expectArray['start'], $actual); $this->assertStringEndsWith($expectArray['end'], $actual); }