def METHOD_NAME(self):
    """
    Try to create/destroy an utf-8 database name from an sls file #8947
    """
    expected_result = {
        "mysql_database_|-A_|-foo \xe6\xba\x96`bar_|-present": {
            "__run_num__": 0,
            "comment": "The database foo \xe6\xba\x96`bar has been created",
            "result": True,
        },
        "mysql_database_|-B_|-foo \xe6\xba\x96`bar_|-absent": {
            "__run_num__": 1,
            "comment": "Database foo \xe6\xba\x96`bar has been removed",
            "result": True,
        },
    }
    result = {}
    ret = self.run_function("state.sls", mods="mysql_utf8")
    if not isinstance(ret, dict):
        raise AssertionError(
            ("Unexpected result while testing external mysql utf8 sls: {}").format(
                repr(ret)
            )
        )
    for item, descr in ret.items():
        result[item] = {
            "__run_num__": descr["__run_num__"],
            "comment": descr["comment"],
            "result": descr["result"],
        }
    self.assertEqual(expected_result, result)