fXmlRpc\Timing\Psr3TimerBridgeTest::testDelegatesLogging PHP Method

testDelegatesLogging() public method

    public function testDelegatesLogging()
    {
        $bridge = new Psr3TimerBridge($this->logger);
        $this->logger->expects($this->once())->method('log')->with(LogLevel::DEBUG, 'fXmlRpc call took 1.1000000000s', array('xmlrpcMethod' => 'method', 'xmlrpcArguments' => array('arg1', 'arg2')));
        $bridge->recordTiming(1.1, 'method', array('arg1', 'arg2'));
    }