TestClassFormPostInterest
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_pContainer : Container
- $_pFieldsCollectionBuilderShort : FieldsCollectionBuilderShort
- $_pFormPostInterest : FormPostInterest
- $_pSDKWrapperMocker : SDKWrapperMocker
- prepare() : mixed
- testInitialCheck() : mixed
- testMissingFields() : mixed
- testUnsuccessful() : mixed
- addApiResponseCreateAddress() : mixed
- addApiResponseCreateSearchCriteria() : mixed
- addApiResponseSendMail() : mixed
- getNewDataFormConfigurationInterest() : DataFormConfigurationInterest
- getUnsuccessfulResponse() : array<string|int, mixed>
Properties
$_pContainer
private
Container
$_pContainer
= null
$_pFieldsCollectionBuilderShort
private
FieldsCollectionBuilderShort
$_pFieldsCollectionBuilderShort
= null
$_pFormPostInterest
private
FormPostInterest
$_pFormPostInterest
= null
$_pSDKWrapperMocker
private
SDKWrapperMocker
$_pSDKWrapperMocker
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testInitialCheck()
public
testInitialCheck() : mixed
Return values
mixed —testMissingFields()
public
testMissingFields() : mixed
Return values
mixed —testUnsuccessful()
public
testUnsuccessful() : mixed
Return values
mixed —addApiResponseCreateAddress()
private
addApiResponseCreateAddress(bool $success) : mixed
Parameters
- $success : bool
Return values
mixed —addApiResponseCreateSearchCriteria()
private
addApiResponseCreateSearchCriteria(bool $success) : mixed
Parameters
- $success : bool
Return values
mixed —addApiResponseSendMail()
private
addApiResponseSendMail(bool $success) : mixed
Parameters
- $success : bool
Return values
mixed —getNewDataFormConfigurationInterest()
private
getNewDataFormConfigurationInterest() : DataFormConfigurationInterest
Return values
DataFormConfigurationInterest —getUnsuccessfulResponse()
private
getUnsuccessfulResponse(string $actionId, string $resourceType) : array<string|int, mixed>
Parameters
- $actionId : string
- $resourceType : string