Beispiel #1
0
 public function testYouCanGetTheUnderlyingZendErrorMessages()
 {
     $object = new ZendBaseValidator(new \Zend\I18n\Validator\Alnum());
     $this->assertFalse($object->isValid(''));
     $this->assertEquals(array('The input is an empty string'), $object->getMessages());
 }