Пример #1
0
 public function testEmailFieldValidationError()
 {
     $this->setExpectedException('Stato\\Webflow\\Forms\\ValidationError', 'Enter a valid e-mail address.');
     $f = new EmailField();
     $f->clean('john');
 }