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

            _HeartbeatService = TestUtilities.CreateMockSingleton<IHeartbeatService>();
            _RuntimeEnvironment = TestUtilities.CreateMockSingleton<IRuntimeEnvironment>();
            _StandingDataUpdater = TestUtilities.CreateMockImplementation<IStandingDataUpdater>();
            _StandingDataManager = TestUtilities.CreateMockSingleton<IStandingDataManager>();
            _Log = TestUtilities.CreateMockSingleton<ILog>();
            _ConfigurationStorage = TestUtilities.CreateMockSingleton<IConfigurationStorage>();
            _Configuration = new Configuration();
            _Configuration.FlightRouteSettings.AutoUpdateEnabled = true;
            _ConfigurationStorage.Setup(c => c.Load()).Returns(_Configuration);

            _BackgroundDataDownloader = Factory.Singleton.Resolve<IBackgroundDataDownloader>();
            _Provider = new Mock<IBackgroundDataDownloaderProvider>() { DefaultValue = DefaultValue.Mock }.SetupAllProperties();
            _BackgroundDataDownloader.Provider = _Provider.Object;
        }
        public void TestInitialise()
        {
            _ClassFactorySnapshot = Factory.TakeSnapshot();

            _HeartbeatService    = TestUtilities.CreateMockSingleton <IHeartbeatService>();
            _RuntimeEnvironment  = TestUtilities.CreateMockSingleton <IRuntimeEnvironment>();
            _StandingDataUpdater = TestUtilities.CreateMockImplementation <IStandingDataUpdater>();
            _StandingDataManager = TestUtilities.CreateMockSingleton <IStandingDataManager>();
            _Log = TestUtilities.CreateMockSingleton <ILog>();
            _ConfigurationStorage = TestUtilities.CreateMockSingleton <IConfigurationStorage>();
            _Configuration        = new Configuration();
            _Configuration.FlightRouteSettings.AutoUpdateEnabled = true;
            _ConfigurationStorage.Setup(c => c.Load()).Returns(_Configuration);

            _BackgroundDataDownloader = Factory.Singleton.ResolveNewInstance <IBackgroundDataDownloader>();
            _Provider = new Mock <IBackgroundDataDownloaderProvider>()
            {
                DefaultValue = DefaultValue.Mock
            }.SetupAllProperties();
            _BackgroundDataDownloader.Provider = _Provider.Object;
        }