fXmlRpc\Transport\RecorderTest::testReturnLastException PHP Method

testReturnLastException() public method

    public function testReturnLastException()
    {
        try {
            $this->transportFail();
            $this->client->call('TestMethod', ['param1', 2, ['param3' => true]]);
        } catch (Exception $e) {
            $this->assertSame($this->exception, $e);
        }
        $this->assertSame($this->exception, $this->recorder->getLastException());
    }