Fireguard\Report\Exporters\ImageExporterTest::testGeneratePdfOnlyFooter PHP Méthode

testGeneratePdfOnlyFooter() public méthode

    public function testGeneratePdfOnlyFooter()
    {
        $exporter = new ImageExporter();
        $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');
    }