public function testStaticApiGetTraceElements_ReturnsTraceElements_ForError()
{
$prev = $this->createError('Previous');
$ex = $this->createError('Exception', $prev);
$elements = $this->callProtectedMethod(Throwable::class, 'getTraceElements', [$ex]);
$this->assertTrace($elements);
}