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

testGenerateImageExpectedException() public méthode

    public function testGenerateImageExpectedException()
    {
        $exporter = new ImageExporter();
        $report = new Report('<section class="content">Content</section>', '<section class="header">Header</section>', '<section class="footer">Footer</section>');
        $exporter->setBinaryPath('invalid-path');
        $exporter->generate($report);
    }