コード例 #1
0
 public function testMatchesRegexWillThrowException()
 {
     $this->setExpectedException(Exception::class);
     $value = 'A';
     $regex = '/[a-z]/';
     Assert::matchesRegex($value, $regex);
 }