public function __construct($options = []) { parent::__construct($options); }
/** * Ensure that we get no error messages before running validation */ public function testGetErrorMessagesAfterValidationFailure() { $validator = new Length(2); $validator->isValid('coderavine'); $this->assertCount(1, $validator->errors()); }