public void testInitialization() { Dictionary<String, String> mockConfig = new Dictionary<string, string>(); mockConfig["url"] = "https://www.mockurl.com"; mockConfig["reportGroup"] = "Mock Report Group"; mockConfig["username"] = "******"; mockConfig["printxml"] = "false"; mockConfig["timeout"] = "35"; mockConfig["proxyHost"] = "www.mockproxy.com"; mockConfig["merchantId"] = "MOCKID"; mockConfig["password"] = "******"; mockConfig["proxyPort"] = "3000"; mockConfig["sftpUrl"] = "www.mockftp.com"; mockConfig["sftpUsername"] = "******"; mockConfig["sftpPassword"] = "******"; mockConfig["knownHostsFile"] = "C:\\MockKnownHostsFile"; mockConfig["onlineBatchUrl"] = "www.mockbatch.com"; mockConfig["onlineBatchPort"] = "4000"; mockConfig["requestDirectory"] = "C:\\MockRequests"; mockConfig["responseDirectory"] = "C:\\MockResponses"; batchRequest = new BatchRequest(mockConfig); Assert.AreEqual("C:\\MockRequests\\Requests\\", batchRequest.GetRequestDirectory()); Assert.AreEqual("C:\\MockResponses\\Responses\\", batchRequest.GetResponseDirectory()); Assert.NotNull(batchRequest.GetLitleTime()); Assert.NotNull(batchRequest.GetLitleFile()); }