ZF-8784: Unit tests in Zend_Form_ElementTest fail since new NotEmpty implementation


Since the new NotEmpty implementation in r20020, giving an array with one element, like is done in {{testSetOptionsSetsArrayOfArrayValidators}} and {{testSetOptionsSetsArrayOfAssociativeArrayValidators}}, defaults to the Validator expecting that one element to be a type, resulting in an Exception when 'bar' is given instead. Patch for unit test will be attached, assuming this API change will be documented.


Proposed patch of the unit tests

Fixed with r20214. Thanks for the patch.