public function testIsSelectionValidFalseForSecondOccurence()
 {
     $values = array('deu', 'deu', 'deu');
     $validator = new Application_Form_Validate_DuplicateValue($values, 2);
     // drittes Unterformular
     $this->assertFalse($validator->isValid('deu'));
 }
 public function __construct($values, $position, $message, $otherElements)
 {
     if (!is_array($otherElements)) {
         $this->_otherElements = array($otherElements);
     } else {
         $this->_otherElements = $otherElements;
     }
     parent::__construct($values, $position, $message);
 }