public function testFormatWithSimpleException() { $jsonXmlFormatter = new JsonXml($this->config); $this->assertContains('"code":9,"message":"test","details":[]', $jsonXmlFormatter->format(new \LogicException('test', 9))); }