public function testStaticApiParseThrowableMessage_ParsesThrowableMessage_ForError()
{
$prev = $this->createError('Previous');
$ex = $this->createError($message = 'Exception', $prev);
$stack = Throwable::getThrowableStack($ex);
$base = $this->callProtectedMethod(Throwable::class, 'getBasename', [get_class($ex)]);
$this->assertRegExp("#\\[{$base}\\] \"{$message}\" in ThrowableTest:([0-9]*?)#si", Throwable::parseThrowableMessage($stack));
}