public function testStaticApiToStackString_ReturnsStackTraceAsString() { $prev = $this->createError('Previous'); $ex = $this->createError('Error', $prev); $this->assertStackString(Error::toStackString($ex)); }