public function testPipeline()
{
$client = $this->client;
$client->set('a', 1)->then($this->expectCallableOnce('OK'));
$client->incr('a')->then($this->expectCallableOnce(2));
$client->incr('a')->then($this->expectCallableOnce(3));
$client->get('a')->then($this->expectCallableOnce('3'));
$this->assertTrue($client->isBusy());
$this->waitFor($client);
}