123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- namespace Predis;
- use \PHPUnit_Framework_TestCase as StandardTestCase;
- class ResponseQueuedTest extends StandardTestCase
- {
-
- public function testResponseQueuedClass()
- {
- $queued = new ResponseQueued();
- $this->assertInstanceOf('Predis\IReplyObject', $queued);
- }
-
- public function testToString()
- {
- $queued = new ResponseQueued();
- $this->assertEquals('QUEUED', (string) $queued);
- }
-
- public function testQueuedProperty()
- {
- $queued = new ResponseQueued();
- $this->assertTrue(isset($queued->queued));
- $this->assertTrue($queued->queued);
- }
- }
|