public function testHost($dsn, $host) { $dsn = new RedisDsn($dsn); $this->assertSame($host, $dsn->getHost()); }