diff --git a/test/PredisClientFeatures.php b/test/PredisClientFeatures.php index c2c181e2..a5de66bc 100644 --- a/test/PredisClientFeatures.php +++ b/test/PredisClientFeatures.php @@ -121,5 +121,14 @@ class RedisCommandTestSuite extends PHPUnit_Framework_TestCase { $this->assertTrue($profile->supportsCommand($cmdId)); $this->assertType($cmdClass, $profile->createCommand($cmdId)); } + + + /* ResponseQueued */ + + function testResponseQueued() { + $response = new \Predis\ResponseQueued(); + $this->assertTrue($response->queued); + $this->assertEquals(\Predis\ResponseReader::QUEUED, (string)$response); + } } ?> \ No newline at end of file