You are here

public function ExceptionMessageTest::testPatialMessageEnd in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/tests/Framework/Constraint/ExceptionMessageTest.php \ExceptionMessageTest::testPatialMessageEnd()

@expectedException \Exception @expectedExceptionMessage exception message

File

vendor/phpunit/phpunit/tests/Framework/Constraint/ExceptionMessageTest.php, line 48

Class

ExceptionMessageTest
@since Class available since Release 4.0.20 @covers PHPUnit_Framework_Constraint_ExceptionMessage

Code

public function testPatialMessageEnd() {
  throw new Exception('A partial exception message');
}