public function testPort($dsn, $port) { $dsn = new RedisDsn($dsn); $this->assertSame($port, $dsn->getPort()); }