LeadModelAttributeAndElementDataToMergeItemTest Class Reference

Inheritance diagram for LeadModelAttributeAndElementDataToMergeItemTest:
ModelAttributeAndElementDataToMergeItemBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testPreElementContentForModels ()

Static Public Member Functions

static setUpBeforeClass ()

Data Fields

 $attributesToBeTested
 $nonDerivedAttributes
 $dropdownAttributes = array('title', 'industry', 'source')
 $multiAttributeElements
 $modelAttributeAndElementDataToMergeItem = 'ContactModelAttributeAndElementDataToMergeItem'
 $modelClass = 'Contact'
 $derivedElementInterfaceDropdownAttributesElements = array('LeadStateDropDown')

Protected Member Functions

 setFirstModel ()
 setSecondModel ()

Detailed Description

Definition at line 37 of file LeadModelAttributeAndElementDataToMergeItemTest.php.


Field Documentation

$attributesToBeTested
Initial value:
 array('title'            => 'DropDown',
                                                'firstName'        => 'Text',
                                                'lastName'         => 'Text',
                                                'null'             => 'LeadStateDropDown',
                                                'jobTitle'         => 'Text',
                                                'companyName'      => 'Text',
                                                'department'       => 'Text',
                                                'officePhone'      => 'Phone',
                                                'source'           => 'DropDown',
                                                'mobilePhone'      => 'Phone',
                                                'officeFax'        => 'Phone',
                                                'industry'         => 'DropDown',
                                                'website'          => 'Url',
                                                'primaryEmail'     => 'EmailAddressInformation',
                                                'secondaryEmail'   => 'EmailAddressInformation',
                                                'primaryAddress'   => 'Address',
                                                'secondaryAddress' => 'Address'
                                          )

Reimplemented from ModelAttributeAndElementDataToMergeItemBaseTest.

Definition at line 39 of file LeadModelAttributeAndElementDataToMergeItemTest.php.

$nonDerivedAttributes
Initial value:
 array('firstName', 'lastName',
                                                'jobTitle', 'companyName',
                                                'department', 'website',
                                                'officePhone', 'mobilePhone',
                                                'officeFax')

Reimplemented from ModelAttributeAndElementDataToMergeItemBaseTest.

Definition at line 58 of file LeadModelAttributeAndElementDataToMergeItemTest.php.

$multiAttributeElements
Initial value:
 array('primaryEmail'      => 'EmailAddressInformation',
                                                'secondaryEmail'    => 'EmailAddressInformation',
                                                'primaryAddress'    => 'Address',
                                                'secondaryAddress'  => 'Address')

Reimplemented from ModelAttributeAndElementDataToMergeItemBaseTest.

Definition at line 66 of file LeadModelAttributeAndElementDataToMergeItemTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 24 07:10:26 2017