public void GetPathToNameTest() { string fileName = "GetPathToNameTest"; string path = FileWithHeader.GetPathToName(fileName); DirectoryInfo dirInfo = Directory.GetParent(path); Assert.IsTrue(dirInfo.Exists); }