public void testInstanceMultiSiteDefaultProps() { Dictionary <string, string> _config = new Dictionary <string, string> { { "proxyHost", "websenseproxy" }, { "proxyPort", "8080" }, { "multiSite", "true" }, { "printxml", "false" }, { "printMultiSiteDebug", "true" }, { "merchantId", "101" }, { "username", "DOTNET" }, { "password", "TESTCASE" }, { "url", legacyUrl }, { "multiSiteUrl1", site1Url }, { "multiSiteUrl2", site2Url }, { "multiSiteErrorThreshold", "102" }, { "maxHoursWithoutSwitch", "500" } }; CommManager.reset(); CommManager cmg = CommManager.instance(_config); Assert.IsNotNull(cmg); Assert.IsTrue(cmg.getMultiSite()); Assert.AreEqual(5, cmg.getMultiSiteThreshold()); Assert.AreEqual(48, cmg.getMaxHoursWithoutSwitch()); }