From 4cd0746fda6e84802a5e049fea7b1ef5702cdeae Mon Sep 17 00:00:00 2001 From: smiley Date: Tue, 26 Dec 2017 20:38:27 +0100 Subject: [PATCH] :100: coverage --- tests/QRCodeTest.php | 6 ++++++ 1 file changed, 6 insertions(+) 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); + } + }