Jyxo\Rpc\ServerTestCase::testProcessMethodByCallStatic PHP Method

testProcessMethodByCallStatic() public method

Tests method call using a __callStatic magic function.
    public function testProcessMethodByCallStatic()
    {
        // Skips this test if not running PHP 5.3+
        if (version_compare(PHP_VERSION, '5.3.0', '<')) {
            $this->markTestSkipped('Incompatible PHP version');
        }
        require_once $this->getFilePath('TestMathWithCallStatic.php');
        $this->rpc->registerMethod('TestMathWithCallStatic', 'diff');
        $this->checkServerOutput('diff');
    }