You are here

public function ExceptionMessageTest::testPatialMessageMiddle in Zircon Profile 8

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

@expectedException \Exception @expectedExceptionMessage partial exception

File

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

Class

ExceptionMessageTest
@since Class available since Release 4.0.20 @covers PHPUnit_Framework_Constraint_ExceptionMessage

Code

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