/**
  * Erzeugt Formular für ein CollectionRole Objekt.
  *
  * @param Opus_CollectionRole $collectionRole
  * @return mixed
  */
 private function getRoleForm(Opus_CollectionRole $collectionRole)
 {
     $form = new Admin_Form_CollectionRole();
     $form->populateFromModel($collectionRole);
     $this->initCreateRoleForm($form, $collectionRole);
     return $form;
 }
 public function testValidationTrueForEditing()
 {
     $form = new Admin_Form_CollectionRole();
     $this->assertTrue($form->isValid(array('Id' => '1', 'Name' => 'institutes', 'OaiName' => 'institutes', 'DisplayBrowsing' => 'Name', 'DisplayFrontdoor' => 'Name,Number')));
 }