public void TestInitialise()
        {
            _ClassFactorySnapshot = Factory.TakeSnapshot();

            _WebServer = TestUtilities.CreateMockImplementation<IWebServer>();
            _RuntimeEnvironment = TestUtilities.CreateMockSingleton<IRuntimeEnvironment>();
            _ExternalIPAddressService = TestUtilities.CreateMockSingleton<IExternalIPAddressService>();
            _HeartbeatService = TestUtilities.CreateMockSingleton<IHeartbeatService>();
            _Log = TestUtilities.CreateMockSingleton<ILog>();
            _Configuration = new Configuration();
            _ConfigurationStorage = TestUtilities.CreateMockSingleton<IConfigurationStorage>();
            _ConfigurationStorage.Setup(s => s.Load()).Returns(_Configuration);
            _InstallerSettingsStorage = TestUtilities.CreateMockImplementation<IInstallerSettingsStorage>();
            _InstallerSettings = new InstallerSettings();
            _InstallerSettingsStorage.Setup(s => s.Load()).Returns(_InstallerSettings);

            _AutoConfigWebServer = Factory.Singleton.Resolve<IAutoConfigWebServer>();
        }
        public void TestInitialise()
        {
            _ClassFactorySnapshot = Factory.TakeSnapshot();

            _WebServer                = TestUtilities.CreateMockImplementation <IWebServer>();
            _RuntimeEnvironment       = TestUtilities.CreateMockSingleton <IRuntimeEnvironment>();
            _ExternalIPAddressService = TestUtilities.CreateMockSingleton <IExternalIPAddressService>();
            _HeartbeatService         = TestUtilities.CreateMockSingleton <IHeartbeatService>();
            _Log                  = TestUtilities.CreateMockSingleton <ILog>();
            _Configuration        = new Configuration();
            _ConfigurationStorage = TestUtilities.CreateMockSingleton <IConfigurationStorage>();
            _ConfigurationStorage.Setup(s => s.Load()).Returns(_Configuration);
            _InstallerSettingsStorage = TestUtilities.CreateMockImplementation <IInstallerSettingsStorage>();
            _InstallerSettings        = new InstallerSettings();
            _InstallerSettingsStorage.Setup(s => s.Load()).Returns(_InstallerSettings);

            _AutoConfigWebServer = Factory.Singleton.Resolve <IAutoConfigWebServer>();
        }