public function ExpectationExceptionTest::testEmptyMessageAndPreviousException in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Exception/ExpectationExceptionTest.php \Behat\Mink\Tests\Exception\ExpectationExceptionTest::testEmptyMessageAndPreviousException()
File
- vendor/
behat/ mink/ tests/ Exception/ ExpectationExceptionTest.php, line 9
Class
Namespace
Behat\Mink\Tests\ExceptionCode
public function testEmptyMessageAndPreviousException() {
$exception = new ExpectationException('', $this
->getMock('Behat\\Mink\\Driver\\DriverInterface'), new \Exception('Something failed'));
$this
->assertEquals('Something failed', $exception
->getMessage());
}