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."); }
                         ));
    }
    public IEnumerator Append()
    {
        var data = "new data " + Guid.NewGuid().ToString();

        Autoya.Persist_Update(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName, data);

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

        Autoya.Persist_Append(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName, appendData);

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

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

            var appendData = "append data " + Guid.NewGuid().ToString();
            Autoya.Persist_Append(AutoyaFilePersistTestsFileDomain, AutoyaFilePersistTestsFileName, appendData);

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

        RunOnMainThread(onMainThread);
    }