Menu

## PaymentTest extends TestCase
in package

PaymentTest.php : 10

EntityTest Class Doc Comment

### Table of Contents

setUpBeforeClass() : mixed
testCancelPayment() : mixed
testCreateAnInvalidPayment() : mixed
testCreateApprovedPayment() : mixed
testCreatePendingPayment() : mixed
testFindPaymentById() : mixed
testFindPaymentByNonExistentId() : mixed
testPaymentsSearch() : mixed
testPaymentWithCustomAccessToken() : mixed
testRefundPayment() : mixed
testSearchWithInvalidQueryFilters() : mixed
SingleUseCardToken() : mixed

### Methods

#### setUpBeforeClass()

PaymentTest.php : 13
`public static setUpBeforeClass() : mixed`

##### Return values

mixed —

#### testCancelPayment()

PaymentTest.php : 158
`public testCancelPayment(Payment $payment_created_previously) : mixed`

##### Parameters

$payment_created_previously : Payment

##### Tags

depends

  testCreatePendingPayment

##### Return values

mixed —

#### testCreateAnInvalidPayment()

PaymentTest.php : 73
`public testCreateAnInvalidPayment() : mixed`

##### Return values

mixed —

#### testCreateApprovedPayment()

PaymentTest.php : 31
`public testCreateApprovedPayment() : mixed`

##### Return values

mixed —

#### testCreatePendingPayment()

PaymentTest.php : 101
`public testCreatePendingPayment() : mixed`

##### Return values

mixed —

#### testFindPaymentById()

PaymentTest.php : 125
`public testFindPaymentById(Payment $payment_created_previously) : mixed`

##### Parameters

$payment_created_previously : Payment

##### Tags

depends

  testCreatePendingPayment

##### Return values

mixed —

#### testFindPaymentByNonExistentId()

PaymentTest.php : 133
`public testFindPaymentByNonExistentId(Payment $payment_created_previously) : mixed`

##### Parameters

$payment_created_previously : Payment

##### Tags

depends

  testCreatePendingPayment

##### Return values

mixed —

#### testPaymentsSearch()

PaymentTest.php : 141
`public testPaymentsSearch(Payment $payment_created_previously) : mixed`

##### Parameters

$payment_created_previously : Payment

##### Tags

depends

  testCreatePendingPayment

##### Return values

mixed —

#### testPaymentWithCustomAccessToken()

PaymentTest.php : 169
`public testPaymentWithCustomAccessToken() : mixed`

##### Return values

mixed —

#### testRefundPayment()

PaymentTest.php : 56
`public testRefundPayment(Payment $payment_created_previously) : mixed`

##### Parameters

$payment_created_previously : Payment

##### Tags

depends

  testCreateApprovedPayment

##### Return values

mixed —

#### testSearchWithInvalidQueryFilters()

PaymentTest.php : 86
`public testSearchWithInvalidQueryFilters() : mixed`

##### Return values

mixed —

#### SingleUseCardToken()

PaymentTest.php : 188
`private SingleUseCardToken(mixed $status) : mixed`

##### Parameters

$status : mixed

##### Return values

mixed —

## Search results