/**
  * @group disconnected
  * @expectedException Predis\ClientException
  * @expectedExceptionMessage Invalid URI: tcp://invalid:uri
  */
 public function testParsingURIThrowOnInvalidURI()
 {
     ConnectionParameters::parseURI('tcp://invalid:uri');
 }
 /**
  * @group disconnected
  */
 public function testToArray()
 {
     $additional = array('port' => 7000, 'custom' => 'foobar');
     $parameters = new ConnectionParameters($additional);
     $this->assertEquals($this->getParametersArray($additional), $parameters->toArray());
 }