Neos\Neos\Tests\Functional\Fusion\RenderingTest::assertTeaserConformsToBasicRendering PHP Метод

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

Helper function for setting assertions
protected assertTeaserConformsToBasicRendering ( string $output )
$output string
    protected function assertTeaserConformsToBasicRendering($output)
    {
        $this->assertContains('This website is powered by Neos, the Open Source Content Application Platform licensed under the GNU/GPL.', $output);
        $this->assertSelectEquals('h1', 'Home', true, $output);
        $this->assertSelectEquals('.teaser > .neos-contentcollection > .typo3-neos-nodetypes-headline > div > h1', 'Welcome to this example', true, $output);
        $this->assertSelectEquals('.teaser > .neos-contentcollection > .typo3-neos-nodetypes-text > div', 'This is our exemplary rendering test.', true, $output);
    }