CacheTool\Proxy\ApcuProxyTest::testFunctionsArray PHP Method

testFunctionsArray() public method

public testFunctionsArray ( )
    public function testFunctionsArray()
    {
        $this->assertProxyCodeArray("\$success = false;\n\$result = apcu_dec('key', 'step', \$success);\nreturn array(\$result, \$success);", 'apcu_dec', array('key', 'step', new \stdClass()));
        $this->assertProxyCodeArray("\$success = false;\n\$result = apcu_fetch('key', \$success);\nreturn array(\$result, \$success);", 'apcu_fetch', array('key', new \stdClass()));
        $this->assertProxyCodeArray("\$success = false;\n\$result = apcu_inc('key', 'step', \$success);\nreturn array(\$result, \$success);", 'apcu_inc', array('key', 'step', new \stdClass()));
    }