def METHOD_NAME(self):
    self.database = factory_logical.DatabaseFactory(
        name="my_db_url_name", databaseinfra=self.databaseinfra)
    self.assertEqual("mysql://<user>:<password>@{}/my_db_url_name".format(self.infra_endpoint),
                     self.driver.get_connection(database=self.database))