public void WriteData(IFileWriter writer, IWriteParser parser, DataSet data, string outputFileLocation) { string parsedData = parser.ParseContent(data); writer.SetFilePath(outputFileLocation); writer.WriteFileContents(parsedData); }
public void TestSetValidFilePath() { EnsureTargetFileDoesNotExist(); AssertExtension.DoesNotThrow <FileNotFoundException>(() => _writer.SetFilePath(TargetFilePath)); }