Redaxscript\Tests\Template\HelperTest::testGetRobots PHP Метод

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

testGetRobots
С версии: 3.0.0
public testGetRobots ( array $registryArray = [], string $expect = null )
$registryArray array
$expect string
    public function testGetRobots($registryArray = [], $expect = null)
    {
        /* setup */
        $this->_registry->init($registryArray);
        /* actual */
        $actual = Template\Helper::getRobots();
        /* compare */
        $this->assertEquals($expect, $actual);
    }