public void Analyze(string fileName)
{
if (fileName.Length < 8)
{
LoggingFacility.Log("aFilename too short:" + fileName);
}
//rest of the method here
}
public void Analyze_EmptyFile_ThrowsException() { LogAnalyzer la = new LogAnalyzer(); la.Analyze("myemptyfile.txt"); //rest of test }