123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace Predis\Command;
- class ServerFlushAllTest extends PredisCommandTestCase
- {
-
- protected function getExpectedCommand()
- {
- return 'Predis\Command\ServerFlushAll';
- }
-
- protected function getExpectedId()
- {
- return 'FLUSHALL';
- }
-
- public function testFilterArguments()
- {
- $command = $this->getCommand();
- $command->setArguments(array());
- $this->assertSame(array(), $command->getArguments());
- }
-
- public function testParseResponse()
- {
- $this->assertSame('OK', $this->getCommand()->parseResponse('OK'));
- }
- }
|