Fireguard\Report\Exporters\PdfExporterTest::testGeneratePdfOnlyFooter PHP Method

testGeneratePdfOnlyFooter() public method

    public function testGeneratePdfOnlyFooter()
    {
        $exporter = new PdfExporter();
        $report = new Report('<section class="content">Content</section>', '', '<section class="header">Footer</section>');
        $file = $exporter->generate($report);
        $this->assertFileExists($file);
        $this->assertTrue(filesize($file) > 1000, 'Generate file is empty');
    }