Documentation

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

Properties

Methods

test__buildQueryString()

Check that when we give a certain Query instance, we get an array of expected params back

public test__buildQueryString() : mixed
Tags
covers
Return values
mixed

test__buildQueryString__DefaultsToOrderByBackdate()

Check that we order by backdate if an order is not specified.

public test__buildQueryString__DefaultsToOrderByBackdate() : mixed
Tags
covers
Return values
mixed

test__find()

public test__find() : void
Tags
covers
covers
throws
Exception
Return values
void

test__find__ThrowsExceptionForMissingOrganizationIdParam()

public test__find__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
covers
throws
Exception
Return values
void

test__findByPeopleId()

public test__findByPeopleId() : void
Tags
covers
throws
Exception
Return values
void

test__findByPeopleId__ThrowsException()

public test__findByPeopleId__ThrowsException() : void
Tags
covers
throws
Exception
Return values
void

test__findByPeopleId__ThrowsExceptionForMissingOrganizationIdParam()

public test__findByPeopleId__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
covers
covers
throws
Exception
Return values
void

test__findByPeopleId__ThrowsExceptionForMissingPeopleIdParam()

public test__findByPeopleId__ThrowsExceptionForMissingPeopleIdParam() : void
Tags
covers
covers
throws
Exception
Return values
void

test__findByUserId()

public test__findByUserId() : void
Tags
covers
covers
throws
Exception
Return values
void

test__findByUserId__ThrowsExceptionForMissingOrganizationIdParam()

public test__findByUserId__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
covers
throws
Exception
Return values
void

test__findOne()

public test__findOne() : void
Tags
covers
covers
covers
covers
covers
covers
covers
covers
covers
throws
GuzzleException
throws
Exception
Return values
void

test__findOne__ThrowsException()

public test__findOne__ThrowsException() : void
Tags
covers
throws
Exception
Return values
void

test__findOne__ThrowsExceptionForMissingIdParam()

public test__findOne__ThrowsExceptionForMissingIdParam() : void
Tags
covers
covers
throws
Exception
Return values
void

test__findOne__ThrowsExceptionForMissingOrganizationIdParam()

public test__findOne__ThrowsExceptionForMissingOrganizationIdParam() : void
Tags
covers
covers
throws
Exception
Return values
void

test__findOneByUserId()

public test__findOneByUserId() : void
Tags
covers
Return values
void

test__findOneByUserId__ThrowsException()

public test__findOneByUserId__ThrowsException() : void
Tags
covers
throws
Exception
Return values
void

test__findOneByUserId__ThrowsExceptionForMissingIdParam()

public test__findOneByUserId__ThrowsExceptionForMissingIdParam() : void
Tags
covers
covers
throws
Exception
Return values
void

test__findOneByUserId__ThrowsExceptionForMissingPeopleIdParam()

public test__findOneByUserId__ThrowsExceptionForMissingPeopleIdParam() : void
Tags
covers
covers
throws
Exception
Return values
void

Search results