public function testSetUpValidators()
 {
     $validators = $this->_validateCollection->getValidators('field2');
     $this->assertArrayHasKey('App_Validate_Collection', $validators);
     $validators = $validators['App_Validate_Collection']->getValidators('field3');
     $this->assertArrayHasKey('Zend_Validate_InArray', $validators);
 }
 public function testSetUpValidators()
 {
     $validators = $this->_validateCollection->getValidators('field1');
     $this->assertArrayHasKey('Zend_Validate_NotEmpty', $validators);
     $this->assertArrayHasKey('Zend_Validate_InArray', $validators);
     $this->assertInstanceOf('Zend_Validate_InArray', $validators['Zend_Validate_InArray']);
     $this->assertEquals(array('VALUE1', 'VALUE2'), $validators['Zend_Validate_InArray']->getHaystack());
     $validators = $this->_validateCollection->getValidators('field2');
     $this->assertArrayNotHasKey('Zend_Validate_NotEmpty', $validators);
     $this->assertArrayHasKey('Zend_Validate_StringLength', $validators);
     $this->assertInstanceOf('Zend_Validate_StringLength', $validators['Zend_Validate_StringLength']);
     $this->assertEquals(10, $validators['Zend_Validate_StringLength']->getMin());
     $this->assertEquals(50, $validators['Zend_Validate_StringLength']->getMax());
     $validators = $this->_validateCollection->getValidators('field3');
     $this->assertArrayHasKey('Zend_Validate_NotEmpty', $validators);
     $this->assertArrayHasKey('Zend_Validate_StringLength', $validators);
     $this->assertInstanceOf('Zend_Validate_StringLength', $validators['Zend_Validate_StringLength']);
     $this->assertEquals(10, $validators['Zend_Validate_StringLength']->getMin());
     $this->assertEquals(50, $validators['Zend_Validate_StringLength']->getMax());
 }