Open Journal Systems
3.3.0
PaymentMethodTest.php
1
<?php
2
3
namespace
Omnipay\Common
;
4
5
use Omnipay\Tests\TestCase;
6
7
class
PaymentMethodTest
extends
TestCase
8
{
9
public
function
testConstruct
()
10
{
11
$method =
new
PaymentMethod
(
'99'
,
'Acme Corp'
);
12
13
$this->assertSame(
'99'
, $method->getId());
14
$this->assertSame(
'Acme Corp'
, $method->getName());
15
}
16
}
Omnipay\Common
Definition:
lib/vendor/omnipay/common/src/Omnipay/Common/AbstractGateway.php:6
Omnipay\Common\PaymentMethodTest\testConstruct
testConstruct()
Definition:
PaymentMethodTest.php:9
Omnipay\Common\PaymentMethodTest
Definition:
PaymentMethodTest.php:7
Omnipay\Common\PaymentMethod
Definition:
lib/vendor/omnipay/common/src/Omnipay/Common/PaymentMethod.php:15
plugins
paymethod
paypal
lib
vendor
omnipay
common
tests
Omnipay
Common
PaymentMethodTest.php
Generated on Fri Aug 28 2020 14:53:00 for Open Journal Systems by
1.8.17