TestClassFormPostContact
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_pContainer : Container
- $_pFieldsCollectionBuilderShort : FieldsCollectionBuilderShort
- $_pFormPostContact : FormPostContact
- $_pSDKWrapperMocker : SDKWrapperMocker
- prepare() : mixed
- testMissingFields() : mixed
- testSendWithNewAddress() : mixed
- testSendWithNewAddressAndCheckDuplicate() : mixed
- testSendWithNewAddressAndNewsletter() : mixed
- testSendWithoutNewAddress() : mixed
- configureSDKWrapperForContactAddress() : mixed
- configureSDKWrapperForContactAddressWithNewsLetter() : mixed
- configureSDKWrapperForCreateAddress() : mixed
- configureSDKWrapperForCreateAddressWithDuplicateCheck() : mixed
- configureSDKWrapperForFieldsAddressEstate() : mixed
- getNewDataFormConfiguration() : DataFormConfigurationContact
- getPostVariables() : array<string|int, mixed>
- mockNewsletterCall() : mixed
Properties
$_pContainer
private
Container
$_pContainer
= null
$_pFieldsCollectionBuilderShort
private
FieldsCollectionBuilderShort
$_pFieldsCollectionBuilderShort
= null
$_pFormPostContact
private
FormPostContact
$_pFormPostContact
= null
$_pSDKWrapperMocker
private
SDKWrapperMocker
$_pSDKWrapperMocker
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testMissingFields()
public
testMissingFields() : mixed
Return values
mixed —testSendWithNewAddress()
public
testSendWithNewAddress() : mixed
Return values
mixed —testSendWithNewAddressAndCheckDuplicate()
public
testSendWithNewAddressAndCheckDuplicate() : mixed
Return values
mixed —testSendWithNewAddressAndNewsletter()
public
testSendWithNewAddressAndNewsletter() : mixed
Return values
mixed —testSendWithoutNewAddress()
public
testSendWithoutNewAddress() : mixed
Return values
mixed —configureSDKWrapperForContactAddress()
private
configureSDKWrapperForContactAddress() : mixed
Return values
mixed —configureSDKWrapperForContactAddressWithNewsLetter()
private
configureSDKWrapperForContactAddressWithNewsLetter() : mixed
Return values
mixed —configureSDKWrapperForCreateAddress()
private
configureSDKWrapperForCreateAddress() : mixed
Return values
mixed —configureSDKWrapperForCreateAddressWithDuplicateCheck()
private
configureSDKWrapperForCreateAddressWithDuplicateCheck() : mixed
Return values
mixed —configureSDKWrapperForFieldsAddressEstate()
private
configureSDKWrapperForFieldsAddressEstate() : mixed
Return values
mixed —getNewDataFormConfiguration()
private
getNewDataFormConfiguration() : DataFormConfigurationContact
Return values
DataFormConfigurationContact —getPostVariables()
private
getPostVariables() : array<string|int, mixed>
Return values
array<string|int, mixed> —mockNewsletterCall()
private
mockNewsletterCall() : mixed