public function testAccessingContactNotLeadWillRedirectToContacts()
 {
     $super = $this->logoutCurrentUserLoginNewUserAndGetByUsername('super');
     $contact = ContactTestHelper::createContactbyNameForOwner('ContactNotLead', $super);
     $this->setGetArray(array('id' => $contact->id));
     $this->runControllerWithRedirectExceptionAndGetContent('leads/default/edit', Yii::app()->createUrl('contacts/default/edit', array('id' => $contact->id)), true);
     $this->runControllerWithRedirectExceptionAndGetContent('leads/default/details', Yii::app()->createUrl('contacts/default/details', array('id' => $contact->id)), true);
     $this->runControllerWithRedirectExceptionAndGetContent('leads/default/delete', Yii::app()->createUrl('contacts/default/delete', array('id' => $contact->id)), true);
     $this->runControllerWithRedirectExceptionAndGetContent('leads/default/convert', Yii::app()->createUrl('contacts/default/details', array('id' => $contact->id)), true);
 }