public function testDatabase($dsn, $database) { $dsn = new RedisDsn($dsn); $this->assertSame($database, $dsn->getDatabase()); }