public function testGetTypeValuesAndLabels()
 {
     $typeValuesAndLabels = WorkflowEmailMessageRecipientForm::getTypeValuesAndLabels('Account', Workflow::TYPE_ON_SAVE);
     $compareData = array('DynamicTriggeredModelUser', 'DynamicTriggeredModelRelationUser', 'StaticRole', 'DynamicTriggeredByUser', 'StaticUser', 'StaticAddress', 'StaticGroup', 'DynamicTriggeredModelRelation');
     $this->assertEquals($compareData, array_keys($typeValuesAndLabels));
     $typeValuesAndLabels = WorkflowEmailMessageRecipientForm::getTypeValuesAndLabels('Contact', Workflow::TYPE_ON_SAVE);
     $compareData = array('DynamicTriggeredModelUser', 'DynamicTriggeredModelRelationUser', 'StaticRole', 'DynamicTriggeredByUser', 'StaticUser', 'StaticAddress', 'StaticGroup', 'DynamicTriggeredModel');
     $this->assertEquals($compareData, array_keys($typeValuesAndLabels));
 }
 /**
  * @return array
  */
 protected function resolveRecipientTypeDataAndLabels()
 {
     $data = array('' => Zurmo::t('WorkflowsModule', 'Add Recipient'));
     return array_merge($data, WorkflowEmailMessageRecipientForm::getTypeValuesAndLabels($this->model->getModelClassName(), $this->model->getWorkflowType()));
 }