public function testStaticApiToThrowableTrace_ReturnsStackThrowable() { $prev = $this->createError('Previous'); $ex = $this->createError('Error', $prev); $this->assertThrowableTrace(Error::toThrowableTrace($ex)); }