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

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

testRender
С версии: 3.0.0
public testValidateWarning ( array $registryArray = [], string $expect = null )
$registryArray array
$expect string
    public function testValidateWarning($registryArray = [], $expect = null)
    {
        /* setup */
        $this->_registry->init($registryArray);
        $systemStatus = new View\SystemStatus($this->_registry, $this->_language);
        /* actual */
        $actual = $this->callMethod($systemStatus, '_validateWarning');
        /* compare */
        $this->assertEquals($expect, $actual);
    }