public void WriteData_WithValidFileAndContent_ExpectTrue() { var target = new MyXmlFileWriter(); var filePath = Path.GetTempFile(); target.WriteData(filePath, "<Xml/>"); Assert.IsTrue(File.Exists(filePath)); }
public void Save(string content, string xml) { var writer = new MyXmlFileWriter(); writer.WriteData(content, xml); }