public void TearDown() { _log.Dispose(); _log = null; var files = Directory.GetFiles(OutputDir); foreach (var file in files) { File.Delete(file); } Directory.Delete(OutputDir); }