Endroid\Tests\QrCode\QrCodeTest::testRenderHttpAddress PHP Method

testRenderHttpAddress() public method

For https://github.com/endroid/QrCode/issues/49.
    public function testRenderHttpAddress()
    {
        $qrCode = new QrCode();
        $qrCode->setText('http://www.example.com/it/it/contact/qr/hit/id/1  ')->setExtension('png')->setSize(300)->setPadding(10)->setBackgroundColor(array('r' => 255, 'g' => 255, 'b' => 255, 'a' => 0))->setForegroundColor(array('r' => 0, 'g' => 0, 'b' => 0, 'a' => 0))->setErrorCorrection(QrCode::LEVEL_MEDIUM);
        $qrCode->get('png');
    }