You are here

public function ExceptionMessageRegExpTest::testSimultaneousLiteralAndRegExpExceptionMessage in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/phpunit/tests/Framework/Constraint/ExceptionMessageRegExpTest.php \ExceptionMessageRegExpTest::testSimultaneousLiteralAndRegExpExceptionMessage()

@coversNothing @expectedException \Exception variadic @expectedExceptionMessageRegExp /^A variadic \w+ message/

File

vendor/phpunit/phpunit/tests/Framework/Constraint/ExceptionMessageRegExpTest.php, line 52

Class

ExceptionMessageRegExpTest
@since Class available since Release 4.3.0 @covers PHPUnit_Framework_Constraint_ExceptionMessageRegExp

Code

public function testSimultaneousLiteralAndRegExpExceptionMessage() {
  throw new Exception('A variadic exception message');
}