TestClassAPIClientExceptionFactory
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_pApiClientAction : APIClientActionGeneric
- $_pFactory : APIClientExceptionFactory
- setupBeforeTest() : mixed
- testCreateExceptionByCode() : mixed
- setReturnCode() : mixed
Properties
$_pApiClientAction
private
APIClientActionGeneric
$_pApiClientAction
= null
$_pFactory
private
APIClientExceptionFactory
$_pFactory
= null
Methods
setupBeforeTest()
public
setupBeforeTest() : mixed
Tags
Return values
mixed —testCreateExceptionByCode()
public
testCreateExceptionByCode() : mixed
Return values
mixed —setReturnCode()
private
setReturnCode(int $code) : mixed
Parameters
- $code : int