Fireguard\Report\Exporters\AbstractPhantomExporterTest::testSetCommandOptions PHP Method

testSetCommandOptions() public method

    public function testSetCommandOptions()
    {
        $exporter = $this->getMockForAbstractClass(AbstractPhantomExporter::class);
        $options = ['debug' => false, 'ignore-ssl-errors' => true, 'load-images' => true, 'ssl-protocol' => 'any'];
        $exporter->setCommandOptions($options);
        $this->assertEquals($options, $exporter->getCommandOptions());
    }