EODUMP;
$this->
assertDumpMatchesFormat($expectedDump,
$e);
} public function testShouldReturnTraceForConcreteTwigWithError() { require_once \
dirname(__DIR__
).'/Fixtures/Twig.php';
$innerExc =
(new \
__TwigTemplate_VarDumperFixture_u75a09(null, __FILE__
))->
provideError();
$nestingWrapper =
new \
stdClass();
$nestingWrapper->trace =
new TraceStub($innerExc->
getTrace());
$expectedDump = <<<'EODUMP'
{
+"trace": {
%sTwig.php:%d {
AbstractTwigTemplate->provideError()
› {
› return $this->createError();
› }
}
%sExceptionCasterTest.php:%d { …}
%A