FunctionalTest::testMultiExecQueuedExecHasValues PHP Method

testMultiExecQueuedExecHasValues() public method

    public function testMultiExecQueuedExecHasValues()
    {
        $client = $this->client;
        $client->multi()->then($this->expectCallableOnce('OK'));
        $client->set('b', 10)->then($this->expectCallableOnce('QUEUED'));
        $client->expire('b', 20)->then($this->expectCallableOnce('QUEUED'));
        $client->incrBy('b', 2)->then($this->expectCallableOnce('QUEUED'));
        $client->ttl('b')->then($this->expectCallableOnce('QUEUED'));
        $client->exec()->then($this->expectCallableOnce(array('OK', 1, 12, 20)));
        $this->waitFor($client);
    }