Fireguard\Report\Exporters\ImageExporterTest::testMountCommandLine PHP Method

testMountCommandLine() public method

    public function testMountCommandLine()
    {
        $exporter = new ImageExporter();
        $options = ['debug' => false, 'ignore-ssl-errors' => true, 'load-images' => true, 'ssl-protocol' => 'any'];
        $exporter->setCommandOptions($options);
        $expected = '--debug=false --ignore-ssl-errors=true --load-images=true --ssl-protocol=any';
        $this->assertEquals($expected, $exporter->mountCommandOptions());
    }