Exemplo n.º 1
0
 /**
  * @expectedException Respect\Validation\Exceptions\RegexException
  */
 public function testRegexNot()
 {
     $v = new Regex('/^w+$/');
     $this->assertFalse($v->validate('w poiur'));
     $this->assertFalse($v->assert('w poiur'));
 }