TransactionFinderTest
extends TestCase
in package
Tags
Table of Contents
- ORG_ID = 'a1deaa9e-662f-4ddc-afca-7afd327ed66e'
- PEOPLE_ID = 'f80f8d83-2120-42f9-8eeb-64524529f8a5'
- TXN_ID = 'txn_823efe3dd1c24781bf2f20fd5cdf8e80'
- USER_ID = 'd6b68a60-2120-4940-9ba9-e9c442a1cc18'
- $client : Client|null
- $finder : TransactionFinder|null
- $mockFund : array<string|int, mixed>
- setUp() : void
- tearDown() : void
- test__buildQueryString() : mixed
- Check that when we give a certain Query instance, we get an array of expected params back
- test__buildQueryString__DefaultsToOrderByBackdate() : mixed
- Check that we order by backdate if an order is not specified.
- test__find() : void
- test__find__ThrowsExceptionForMissingOrganizationIdParam() : void
- test__findByPeopleId() : void
- test__findByPeopleId__ThrowsException() : void
- test__findByPeopleId__ThrowsExceptionForMissingOrganizationIdParam() : void
- test__findByPeopleId__ThrowsExceptionForMissingPeopleIdParam() : void
- test__findByUserId() : void
- test__findByUserId__ThrowsExceptionForMissingOrganizationIdParam() : void
- test__findOne() : void
- test__findOne__ThrowsException() : void
- test__findOne__ThrowsExceptionForMissingIdParam() : void
- test__findOne__ThrowsExceptionForMissingOrganizationIdParam() : void
- test__findOneByUserId() : void
- test__findOneByUserId__ThrowsException() : void
- test__findOneByUserId__ThrowsExceptionForMissingIdParam() : void
- test__findOneByUserId__ThrowsExceptionForMissingPeopleIdParam() : void
Constants
ORG_ID
private
mixed
ORG_ID
= 'a1deaa9e-662f-4ddc-afca-7afd327ed66e'
Tags
PEOPLE_ID
private
mixed
PEOPLE_ID
= 'f80f8d83-2120-42f9-8eeb-64524529f8a5'
Tags
TXN_ID
private
mixed
TXN_ID
= 'txn_823efe3dd1c24781bf2f20fd5cdf8e80'
Tags
USER_ID
private
mixed
USER_ID
= 'd6b68a60-2120-4940-9ba9-e9c442a1cc18'
Tags
Properties
$client
private
Client|null
$client
Tags
$finder
private
TransactionFinder|null
$finder
Tags
$mockFund
private
array<string|int, mixed>
$mockFund
Tags
Methods
setUp()
public
setUp() : void
Tags
Return values
void —tearDown()
public
tearDown() : void
Tags
Return values
void —test__buildQueryString()
Check that when we give a certain Query instance, we get an array of expected params back
public
test__buildQueryString() : mixed
Tags
Return values
mixed —test__buildQueryString__DefaultsToOrderByBackdate()
Check that we order by backdate if an order is not specified.
public
test__buildQueryString__DefaultsToOrderByBackdate() : mixed
Tags
Return values
mixed —test__find()
public
test__find() : void
Tags
Return values
void —test__find__ThrowsExceptionForMissingOrganizationIdParam()
public
test__find__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
Return values
void —test__findByPeopleId()
public
test__findByPeopleId() : void
Tags
Return values
void —test__findByPeopleId__ThrowsException()
public
test__findByPeopleId__ThrowsException() : void
Tags
Return values
void —test__findByPeopleId__ThrowsExceptionForMissingOrganizationIdParam()
public
test__findByPeopleId__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
Return values
void —test__findByPeopleId__ThrowsExceptionForMissingPeopleIdParam()
public
test__findByPeopleId__ThrowsExceptionForMissingPeopleIdParam() : void
Tags
Return values
void —test__findByUserId()
public
test__findByUserId() : void
Tags
Return values
void —test__findByUserId__ThrowsExceptionForMissingOrganizationIdParam()
public
test__findByUserId__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
Return values
void —test__findOne()
public
test__findOne() : void
Tags
Return values
void —test__findOne__ThrowsException()
public
test__findOne__ThrowsException() : void
Tags
Return values
void —test__findOne__ThrowsExceptionForMissingIdParam()
public
test__findOne__ThrowsExceptionForMissingIdParam() : void
Tags
Return values
void —test__findOne__ThrowsExceptionForMissingOrganizationIdParam()
public
test__findOne__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
Return values
void —test__findOneByUserId()
public
test__findOneByUserId() : void
Tags
Return values
void —test__findOneByUserId__ThrowsException()
public
test__findOneByUserId__ThrowsException() : void
Tags
Return values
void —test__findOneByUserId__ThrowsExceptionForMissingIdParam()
public
test__findOneByUserId__ThrowsExceptionForMissingIdParam() : void
Tags
Return values
void —test__findOneByUserId__ThrowsExceptionForMissingPeopleIdParam()
public
test__findOneByUserId__ThrowsExceptionForMissingPeopleIdParam() : void