public UnitTestNewStyleConfirm() { string fileName = "./NewStyleConfirm.txt"; if (!File.Exists(fileName)) { Assert.Fail(fileName + " not found"); return; } StreamReader sr = File.OpenText(fileName); content = sr.ReadToEnd(); app = new Microsoft.Office.Interop.Outlook.Application(); emailProcessor = new EmailProcessorSpoteryII(app); // }
public void Setup() { app = new Microsoft.Office.Interop.Outlook.Application(); emailProcessor = new EmailProcessorSpotery(app); string fileName = "./bookedEmail.txt"; if (!File.Exists(fileName)) { Assert.Fail(fileName + " not found"); return; } StreamReader sr = File.OpenText(fileName); content = sr.ReadToEnd(); // }