示例#1
0
        public void Remove_AllInvalidChars(string fileName, string expectedOutput)
        {
            var fileNameCleaner = new FileNameCleaner();

            Assert.AreEqual(expectedOutput, fileNameCleaner.ReplaceAllInvalidChars(fileName));
        }
示例#2
0
        public void ReplaceAllInvalidChars()
        {
            var fileNameCleaner = new FileNameCleaner();

            Assert.AreEqual("abc_", fileNameCleaner.ReplaceAllInvalidChars("abc*", "_"));
        }