コード例 #1
0
ファイル: RegexTest.php プロジェクト: vituhugo/webservice
 /**
  * @expectedException Respect\Validation\Exceptions\RegexException
  */
 public function testRegexNot()
 {
     $v = new Regex('/^w+$/');
     $this->assertFalse($v->validate('w poiur'));
     $this->assertFalse($v->assert('w poiur'));
 }