Bitpay\InvoiceTest::testSetCurrency PHP Метод

testSetCurrency() публичный Метод

public testSetCurrency ( )
    public function testSetCurrency()
    {
        $this->assertNotNull($this->invoice);
        $currency = $this->getMockCurrency();
        $this->invoice->setCurrency($currency);
        $this->assertSame($currency, $this->invoice->getCurrency());
    }