public function setUp()
 {
     parent::setUp();
     $this->exporter = $this->getMockForAbstractClass(AbstractPhantomExporter::class);
     $tmpConfig = $this->exporter->getDefaultConfiguration();
     $this->configDefault = $tmpConfig['pdf'];
 }
Ejemplo n.º 2
0
 public function testSetConfigValidOptions()
 {
     $exporter = new PdfExporter();
     $exporter->setConfigValidOptions([]);
     $this->assertEquals([], $exporter->getConfigValidOptions());
 }