PhpBench\Tests\Unit\Report\Renderer\AbstractRendererCase::getReportsDocument PHP Метод

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

protected getReportsDocument ( )
    protected function getReportsDocument()
    {
        $document = new Document();
        $report = <<<'EOT'
<?xml version="1.0"?>
<reports name="test_report">
    <report name="test_report" title="Report Title">
        <description>Report Description</description>
        <table>
            <group name="body">
                <row>
                    <cell name="one">Hello</cell>
                    <cell name="two">Goodbye</cell>
                </row>
            </group>
        </table>
    </report>
</reports>
EOT;
        $document->loadXml($report);
        return $document;
    }