diff --git a/tests/QRCodeTest.php b/tests/QRCodeTest.php index b1b2c06ef..ee61cfe76 100644 --- a/tests/QRCodeTest.php +++ b/tests/QRCodeTest.php @@ -93,4 +93,10 @@ class QRCodeTest extends QRTestAbstract{ $this->qrcode->getMatrix(''); } + public function testImageTransparencyBGDefault(){ + $this->qrcode = $this->reflection->newInstanceArgs([new QROptions(['imageTransparencyBG' => 'foo'])]); + + $this->assertSame([255,255,255], $this->getProperty('options')->getValue($this->qrcode)->imageTransparencyBG); + } + }