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