TestClassAPIClientActionGenericReadAddress
extends WP_UnitTestCase
in package
Tags
Table of Contents
- testGetResultMetaEmptyResponse() : mixed
- testSendRequest() : mixed
- testSendRequestEmptyResponse() : mixed
- testWithActionIdAndResourceType() : mixed
- getExpectedRecordResult() : array<string|int, mixed>
- getResponseGetByRecordId() : string
- sendRequest() : APIClientActionGeneric
Methods
testGetResultMetaEmptyResponse()
public
testGetResultMetaEmptyResponse() : mixed
Return values
mixed —testSendRequest()
public
testSendRequest() : mixed
Return values
mixed —testSendRequestEmptyResponse()
public
testSendRequestEmptyResponse() : mixed
Return values
mixed —testWithActionIdAndResourceType()
public
testWithActionIdAndResourceType() : mixed
Return values
mixed —getExpectedRecordResult()
private
getExpectedRecordResult() : array<string|int, mixed>
Return values
array<string|int, mixed> —getResponseGetByRecordId()
private
getResponseGetByRecordId() : string
Return values
string —sendRequest()
private
sendRequest(array<string|int, mixed> $apiResult) : APIClientActionGeneric
Parameters
- $apiResult : array<string|int, mixed>