Omnipay\Common\Message\AbstractRequestTest::testAmountWithIntStringThrowsException PHP Метод

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

    public function testAmountWithIntStringThrowsException()
    {
        // ambiguous value, avoid errors upgrading from v0.9
        // Some currencies only take integers, so an integer (in a string) should be valid.
        $this->assertSame($this->request, $this->request->setAmount('10'));
        $this->request->getAmount();
    }