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

testGeneratePdfExpectedException() public method

    public function testGeneratePdfExpectedException()
    {
        $exporter = new PdfExporter();
        $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);
    }