PayPal\Test\Functional\Api\InvoiceFunctionalTest::testQRCode PHP Method

testQRCode() public method

public testQRCode ( $invoice ) : Invoice
$invoice Invoice
return PayPal\Api\Invoice
    public function testQRCode($invoice)
    {
        $result = Invoice::qrCode($invoice->getId(), array(), $this->apiContext, $this->mockPayPalRestCall);
        $this->assertNotNull($result);
        $this->assertNotNull($result->getImage());
    }