public void ContainsInvalidCharFromName_returns_false_if_file_does_not_contains_invalid_char() { //Arrange //Act var res = FilesAndDirectoryInfoExtension.ContainsInvalidCharFromName("df@ù^^sfdf"); //Assert Assert.IsFalse(res); }
public void ContainsInvalidCharFromName_returns_true_if_file_contains_invalid_char_slash() { //Arrange //Act var res = FilesAndDirectoryInfoExtension.ContainsInvalidCharFromName("dfdsf/sdf"); //Assert Assert.IsTrue(res); }