public IEnumerator LoadFail()
    {
        var loadedData = Autoya.Persist_Load(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName);

        True(string.IsNullOrEmpty(loadedData), "data should not be exist.");
        yield break;
    }
    public IEnumerator AppendAsync()
    {
        var data = "new data " + Guid.NewGuid().ToString();

        Autoya.Persist_Update(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName, data);

        var loadedData = string.Empty;

        var appendData = "append data " + Guid.NewGuid().ToString();

        Autoya.Persist_Append(
            AutoyaFilePersistTestsFileDomain,
            AutoyaFilePersistTestsFileName,
            appendData,
            () =>
        {
            loadedData = Autoya.Persist_Load(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName);
        },
            reason => { }
            );

        yield return(WaitUntil(
                         () => loadedData == data + appendData,
                         () => { throw new TimeoutException("too late."); }
                         ));
    }
    [MTest] public void LoadFail()
    {
        Action onMainThread = () => {
            var loadedData = Autoya.Persist_Load(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName);
            Assert(string.IsNullOrEmpty(loadedData), "data should not be exist.");
        };

        RunOnMainThread(onMainThread);
    }
    public IEnumerator Load()
    {
        var data = "new data " + Guid.NewGuid().ToString();

        Autoya.Persist_Update(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName, data);

        var loadedData = Autoya.Persist_Load(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName);

        True(loadedData == data, "data does not match. loadedData:" + loadedData);
        yield break;
    }
    [MTest] public void Load()
    {
        Action onMainThread = () => {
            var data = "new data " + Guid.NewGuid().ToString();

            Autoya.Persist_Update(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName, data);

            var loadedData = Autoya.Persist_Load(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName);
            Assert(loadedData == data, "data does not match. loadedData:" + loadedData);
        };

        RunOnMainThread(onMainThread);
    }
    public IEnumerator LoadFailAsync()
    {
        var loadedData = string.Empty;

        Autoya.Persist_Load(
            AutoyaFilePersistTestsFileDomain,
            AutoyaFilePersistTestsFileName,
            data =>
        {
            loadedData = data;
        },
            reason => { }
            );

        yield return(WaitUntil(
                         () => string.IsNullOrEmpty(loadedData),
                         () => { throw new TimeoutException("too late."); }
                         ));
    }