FluidTYPO3\Flux\Tests\Unit\View\ExposedTemplateViewTest::canRenderRaw PHP Method

canRenderRaw() public method

public canRenderRaw ( )
    public function canRenderRaw()
    {
        $templatePathAndFilename = $this->getAbsoluteFixtureTemplatePathAndFilename(self::FIXTURE_TEMPLATE_CUSTOM_SECTION);
        $view = $this->getPreparedViewWithTemplateFile($templatePathAndFilename);
        $sectionContent = $view->render();
        $sectionContent = trim($sectionContent);
        $this->assertEmpty($sectionContent);
        $this->assertNotContains('<', $sectionContent);
        $this->assertNotContains('>', $sectionContent);
    }