/**
* Constructor.
*
* @param string $description Test description
* @param string $host Server host
* @param integer $port Port
* @param integer $database Database index
*/
public function __construct($description, $host, $port = 6379, $database = 0)
{
parent::__construct($description);
$this->host = (string) $host;
$this->port = (int) $port;
$this->database = (int) $database;
}