* @copyright 2018 smiley * @license MIT */ namespace chillerlan\QRCodeTest\Output; use chillerlan\QRCode\{QRCode, Output\QRImagick}; class QRImagickTest extends QROutputTestAbstract{ protected $FQCN = QRImagick::class; public function testImageOutput(){ $type = QRCode::OUTPUT_IMAGICK; $this->options->outputType = $type; $this->setOutputInterface(); $this->outputInterface->dump($this::cachefile.$type); $img = $this->outputInterface->dump(); $this->assertSame($img, file_get_contents($this::cachefile.$type)); } }