public testRender ( array $registryArray = [], string $expect = null ) | ||
$registryArray | array | |
$expect | string |
public function testRender($registryArray = [], $expect = null)
{
/* setup */
$this->_registry->init($registryArray);
$systemStatus = new View\SystemStatus($this->_registry, $this->_language);
/* actual */
$actual = $systemStatus->render();
/* compare */
$this->assertEquals($expect, $actual);
}