public function ExceptionMessageRegExpTest::testRegexMessageExtreme in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/Framework/Constraint/ExceptionMessageRegExpTest.php \ExceptionMessageRegExpTest::testRegexMessageExtreme()
@expectedException \Exception @expectedExceptionMessageRegExp /^a poly[a-z]+ [a-zA-Z0-9_]+ me(s){2}age$/i
File
- vendor/
phpunit/ phpunit/ tests/ Framework/ Constraint/ ExceptionMessageRegExpTest.php, line 30
Class
- ExceptionMessageRegExpTest
- @since Class available since Release 4.3.0 @covers PHPUnit_Framework_Constraint_ExceptionMessageRegExp
Code
public function testRegexMessageExtreme() {
throw new Exception('A polymorphic exception message');
}