public void IsMigrationNeeded_Latest_ReturnsFalse()
        {
            string path = null;

            try
            {
                path = TempOxesFiles.MinimalValidFile(null);
                Assert.IsFalse(Migrator.IsMigrationNeeded(path));
            }
            finally
            {
                if (!String.IsNullOrEmpty(path))
                {
                    FileUtils.Delete(path);
                }
            }
        }
        public void MigrateToLatestVersion_HasCurrentVersion_Throws()
        {
            string path = null;

            try
            {
                path = TempOxesFiles.MinimalValidFile(null);
                Migrator.MigrateToLatestVersion(path);
            }
            finally
            {
                if (!String.IsNullOrEmpty(path))
                {
                    FileUtils.Delete(path);
                }
            }
        }
        public void Validate_MinimalFile_Succeeds()
        {
            string path = TempOxesFiles.MinimalValidFile(null);

            ValidateAndDelete(path, true);
        }