Neos\Fusion\Tests\Functional\TypoScriptObjects\AbstractTypoScriptObjectTest::assertTypoScriptPath PHP Метод

assertTypoScriptPath() защищенный Метод

Renders the given TypoScript path and asserts that the result is the same es the given expected.
protected assertTypoScriptPath ( string $expected, string $path )
$expected string
$path string
    protected function assertTypoScriptPath($expected, $path)
    {
        $view = $this->buildView();
        $view->setTypoScriptPath($path);
        $this->assertSame($expected, $view->render(), 'TypoScript at path "' . $path . '" produced wrong results.');
    }