private static void logException(Exception exception) { var file = Path.Combine(PathParsing.GetRootDirectory(), "panic.dump"); using (var writer = new StreamWriter(file)) { writeException(writer, exception); } }
public void Should_retrieve_correct_path() { var path = PathParsing.GetRootDirectory(); Directory.Exists(path).ShouldBeTrue(); }
private string getPath() { return(PathParsing.GetRootDirectory()); }