public void ReplaceInvalidPathChars() { var fileNameCleaner = new FileNameCleaner(); Assert.AreEqual("abc_", fileNameCleaner.ReplaceInvalidPathChars("abc|", "_")); }
public void Remove_InvalidPathChars(string fileName, string expectedOutput) { var fileNameCleaner = new FileNameCleaner(); Assert.AreEqual(expectedOutput, fileNameCleaner.ReplaceInvalidPathChars(fileName)); }