123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace Predis\Commands;
- use \PHPUnit_Framework_TestCase as StandardTestCase;
- class ServerShutdownTest extends CommandTestCase
- {
-
- protected function getExpectedCommand()
- {
- return 'Predis\Commands\ServerShutdown';
- }
-
- protected function getExpectedId()
- {
- return 'SHUTDOWN';
- }
-
- public function testFilterArguments()
- {
- $command = $this->getCommand();
- $command->setArguments(array());
- $this->assertSame(array(), $command->getArguments());
- }
- }
|