public static bool CombinePath() { IFileTool target = ToolFactory.Ioc.Get <IFileTool>(); string expected = string.Format("1{0}2{0}c", Path.DirectorySeparatorChar); string actual = target.CombinePath("1", "2", "c"); return(expected == actual); }
public LogFileReaderList(IFileTool fileTool) { _fileTool = fileTool; }
public FilePaths(IFileTool fileTool) { _fileTool = fileTool; _filePaths = new List<string>(); }