private static string CreateValidCompressionFolder()
        {
            var compressionFolder = TestFolders.CreateTempFolder();
            var metricsFile       = Path.Combine(compressionFolder, BuildMetrics.FileName);

            File.WriteAllText(metricsFile, BuildMetrics.GetValidContents());
            return(compressionFolder);
        }
        private static string CreateValidCompressionFolderWithFailures()
        {
            var compressionFolder = CreateValidCompressionFolder();

            File.WriteAllText(Path.Combine(compressionFolder, BuildMetrics.FileName), BuildMetrics.GetContentsWithFailures());
            return(compressionFolder);
        }