public function testStaticApiToTrace_ReturnsTrace() { $prev = $this->createError('Previous'); $ex = $this->createError('Error', $prev); $this->assertTrace(Error::toTrace($ex)); }