FileNameMatch() public method

public FileNameMatch ( string otherFileName ) : bool
otherFileName string
return bool
 public void FileNameMatch()
 {
     var file = new FileWithPosition(@"C:\Progra~1\someprogram\somelog.txt");
     Assert.That(file.FileNameMatch(@"C:\Program Files\someprogram\somelog.txt"));
 }