public static function getSecondModel($user)
 {
     $industryValues = AccountListViewMergeTestHelper::getIndustryValues();
     $account = new Account();
     $account->name = 'New Account';
     $account->owner = $user;
     assert($account->save());
     // Not Coding Standard
     $contactCustomerStates = ContactState::getByName('Customer');
     $contact2 = ContactTestHelper::createContactByNameForOwner('shozin', Yii::app()->user->userModel);
     $contact2->title->value = 'Mrs.';
     $contact2->state = $contactCustomerStates[0];
     $contact2->jobTitle = 'Myhero';
     $contact2->source->value = 'Trade Show';
     $contact2->companyName = 'Test Company1';
     $contact2->account = $account;
     $contact2->description = 'Hey Description';
     $contact2->industry->value = $industryValues[1];
     $contact2->department = 'Black Tape';
     $contact2->officePhone = '1234567899';
     $contact2->mobilePhone = '0987654123';
     $contact2->officeFax = '1222222444';
     $contact2->website = 'http://yahoo1.com';
     $contact2->primaryEmail->emailAddress = '*****@*****.**';
     $contact2->primaryEmail->optOut = 0;
     $contact2->primaryEmail->isInvalid = 0;
     $contact2->secondaryEmail->emailAddress = '*****@*****.**';
     $contact2->secondaryEmail->optOut = 1;
     $contact2->secondaryEmail->isInvalid = 1;
     $contact2->primaryAddress->street1 = '302';
     $contact2->primaryAddress->street2 = '9A/1';
     $contact2->primaryAddress->city = 'New Delhi';
     $contact2->primaryAddress->state = 'New Delhi';
     $contact2->primaryAddress->postalCode = '110005';
     $contact2->primaryAddress->country = 'India';
     $contact2->secondaryAddress->street1 = 'A-8';
     $contact2->secondaryAddress->street2 = 'Sector 56';
     $contact2->secondaryAddress->city = 'Gurgaon';
     $contact2->secondaryAddress->state = 'Haryana';
     $contact2->secondaryAddress->postalCode = '5123-4';
     $contact2->secondaryAddress->country = 'IndiaTest';
     assert($contact2->save());
     // Not Coding Standard
     return $contact2;
 }
 protected function setSecondModel()
 {
     $user = User::getByUsername('steven');
     $account = AccountListViewMergeTestHelper::getSecondModel($user);
     $this->selectedModels[] = $account;
 }