Redaxscript\Tests\View\SystemStatusTest::testRender PHP Метод

testRender() публичный Метод

testRender
С версии: 3.0.0
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);
    }