fXmlRpc\Timing\Psr3TimerBridgeTest::testSettingCustomLogLevel PHP Méthode

testSettingCustomLogLevel() public méthode

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