def METHOD_NAME(self):
    cluster = RedshiftCluster(cluster_endpoint='test')
    db_name = 'testdb'
    cluster.set_db(db_name)
    sql = DBResource(rs_cluster=cluster).get_query_sql_text_with_parameters_replaced(GET_DATABASE_NAME_OWNER_ACL)
    expected_sql = GET_DATABASE_NAME_OWNER_ACL.format(db=db_name)
    self.assertEquals(sql, expected_sql)