public function testFormatWithDetailedException()
{
$jsonXmlFormatter = new JsonXml($this->config);
$this->assertContains('"code":11,"message":"Bad Request","details":[1,2,3,["a","b"]]', $jsonXmlFormatter->format(new BadRequest(11, [1, 2, 3, ['a', 'b']])));
}