public void TestFixtureSetUp() { inboxPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "inbox"); outboxPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "outbox"); if (!Directory.Exists(inboxPath)) { Directory.CreateDirectory(inboxPath); } if (!Directory.Exists(outboxPath)) { Directory.CreateDirectory(outboxPath); } ConfigurationManager.AppSettings["inbox"] = inboxPath; ConfigurationManager.AppSettings["outbox"] = outboxPath; service = new MockJobManagerService(inboxPath, outboxPath); service.Start(); }