public void GetTransformsByLayer_TransformsFolderDoesNotExists_ShouldReturnsEmptyCollection([Frozen] IFilePathResolver path, [Greedy] TransformProvider provider, string layerName, string transformFileName)
        {
            path.MapPath(Arg.Any <string>()).Returns(string.Empty);
            Directory.CreateDirectory("temp");
            var transforms = provider.GetTransformsByLayer(layerName);

            transforms.Should().BeEmpty();
        }
        public void GetTransformsByLayer_ShouldReturnsTransformsList([Frozen] IFilePathResolver path, [Greedy] TransformProvider provider, string layerName, string transformFileName)
        {
            var constructorTest = new TransformProvider();
            var transformsPath  = $"{Directory.GetCurrentDirectory()}\\temp\\transforms";

            path.MapPath(Arg.Any <string>()).Returns(transformsPath);
            Directory.CreateDirectory("temp");
            Directory.CreateDirectory(transformsPath);
            Directory.CreateDirectory($"{transformsPath}/{layerName}");
            var transformFilePath = $"{transformsPath}\\{layerName}\\{transformFileName}.xdt";

            File.CreateText(transformFilePath);
            var transforms = provider.GetTransformsByLayer(layerName);

            transforms.Should().Contain(new List <string>()
            {
                transformFilePath
            });
        }