コード例 #1
0
ファイル: FieldTest.php プロジェクト: dasprid/formidable
 public function testHasErrorsReturnsTrueWithErrors()
 {
     $errors = new FormErrorSequence(new FormError('', ''));
     $field = new Field('', '', $errors, Data::none());
     $this->assertTrue($field->hasErrors());
 }