public void CleanFileName_WhenNullOrWhitespace_ReturnsEmptyString(string s) { var result = FilePathHelper.CleanFileName(s); Assert.Equal(result, string.Empty); }
public void CleanFileName_Valid_DoesNotReturnDefault(string input, string defaultValue) { var result = FilePathHelper.CleanFileName(input, defaultValue); Assert.Equal(input, result); }