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

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

    public function replaceElementRenderingCompletelyInSidebar()
    {
        $output = $this->simulateRendering('Test_ReplaceElementRenderingCompletelyInSidebar.fusion');
        $this->assertTeaserConformsToBasicRendering($output);
        $this->assertMainContentConformsToBasicRendering($output);
        // header is now wrapped in h3
        $this->assertSelectEquals('.sidebar > .neos-contentcollection > .typo3-neos-nodetypes-headline > header > h3', 'Last Commits', true, $output);
        $this->assertSelectEquals('.sidebar > .neos-contentcollection > .typo3-neos-nodetypes-text > div', 'Below, you\'ll see the most recent activity', true, $output);
    }