public void WriteData(IFileWriter writer, IWriteParser parser, DataSet data, string outputFileLocation)
        {
            string parsedData = parser.ParseContent(data);

            writer.SetFilePath(outputFileLocation);
            writer.WriteFileContents(parsedData);
        }
Пример #2
0
        public void TestSetValidFilePath()
        {
            EnsureTargetFileDoesNotExist();

            AssertExtension.DoesNotThrow <FileNotFoundException>(() => _writer.SetFilePath(TargetFilePath));
        }