* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Predis; use \PHPUnit_Framework_TestCase as StandardTestCase; /** * */ class ResponseQueuedTest extends StandardTestCase { /** * @group disconnected */ public function testResponseQueuedClass() { $queued = new ResponseQueued(); $this->assertInstanceOf('Predis\IReplyObject', $queued); } /** * @group disconnected */ public function testToString() { $queued = new ResponseQueued(); $this->assertEquals('QUEUED', (string) $queued); } /** * @group disconnected */ public function testQueuedProperty() { $queued = new ResponseQueued(); $this->assertTrue(isset($queued->queued)); $this->assertTrue($queued->queued); } }