Phprest\ErrorHandler\Formatter\JsonXmlTest::testFormatWithSimpleException PHP Method

testFormatWithSimpleException() public method

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