Beispiel #1
0
 public function testDispatchCommandSuccessful()
 {
     $connection = new Pheanstalk_Connection(self::SERVER_HOST, self::SERVER_PORT);
     $command = new Pheanstalk_Command_UseCommand('test');
     $response = $connection->dispatchCommand($command);
     $this->assertIsA($response, 'Pheanstalk_Response');
 }