public ProductConfigurationHelper(string testFile)
        {
            _path = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
            if (!Directory.Exists(_path))
            {
                Directory.CreateDirectory(_path);
            }

            var assembly = Assembly.GetExecutingAssembly();

            using (var stream = assembly.GetManifestResourceStream("Dropcraft.Runtime.Data." + testFile))
            {
                if (stream == null)
                {
                    return;
                }

                string filePath;
                using (var sr = new StreamReader(stream))
                {
                    filePath = Path.Combine(_path, "project.json");
                    using (var sw = File.CreateText(filePath))
                    {
                        sw.Write(sr.ReadToEnd());
                        sw.Flush();
                    }
                }

                Configuration = new ProductConfigurationProvider(filePath);
            }
        }
        public void ForEmptyFolderProductIsReportedAsNonConfigured()
        {
            var path = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());

            if (!Directory.Exists(path))
            {
                Directory.CreateDirectory(path);
            }

            var product = new ProductConfigurationProvider(path);

            product.IsProductConfigured.Should().BeFalse();

            Directory.Delete(path, true);
        }