function AggregateExceptionSpec::it_should_update_message_during_append in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/spec/Prophecy/Exception/Prediction/AggregateExceptionSpec.php \spec\Prophecy\Exception\Prediction\AggregateExceptionSpec::it_should_update_message_during_append()
Parameters
\Prophecy\Exception\Prediction\PredictionException $exception:
File
- vendor/
phpspec/ prophecy/ spec/ Prophecy/ Exception/ Prediction/ AggregateExceptionSpec.php, line 49
Class
Namespace
spec\Prophecy\Exception\PredictionCode
function it_should_update_message_during_append($exception) {
$exception
->getMessage()
->willReturn('Exception #1');
$this
->append($exception);
$this
->getMessage()
->shouldReturn(" Exception #1");
}