public function testInvalidServerRepliesWithDuplicateMessages()
{
$client = $this->createClientResponse("+OK\r\n-ERR invalid\r\n");
$client->on('error', $this->expectCallableOnce());
$client->on('close', $this->expectCallableOnce());
$client->set('a', 0)->then($this->expectCallableOnce('OK'));
$this->waitFor($client);
}