public void ShouldBeCreatedWithoutExceptions() { var pm = Mock.Of <IPluginManager>(); var sp = Mock.Of <ISettingsProvider>(); var mb = Mock.Of <IMessageBroker>(); using (var controller = new TrayIconController(pm, sp, mb)) { }; }
public void ShouldBeCreatedWithoutExceptions() { var pm = Mock.Of <IPluginManager>(); var sp = Mock.Of <ISettingsProvider>(); var ps = Mock.Of <IPlayerStateHistoryRecorder>(); var am = Mock.Of <IAutorunManager>(); var dm = Mock.Of <IPathManager>(); using var controller = new TrayIconController(pm, sp, ps, am, dm); }
public ApplicationStartup( IOptionsMonitor <ApplicationOptions> options, TrayIconController trayIconController, PreferencesWindowController preferencesWindowController, ApplicationInfo applicationInfo, Lazy <Dispatcher> dispatcher, ILogger <ApplicationStartup> logger, ILuxa4SlackFactory luxa4SlackFactory, ILuxaforClient luxaforClient, IConfigurationRoot configurationRoot) { _options = options; _trayIconController = trayIconController; _preferencesWindowController = preferencesWindowController; _applicationInfo = applicationInfo; _dispatcher = dispatcher; _logger = logger; _luxa4SlackFactory = luxa4SlackFactory; _luxaforClient = luxaforClient; _configurationRoot = configurationRoot; _preferencesWindowController.OpenedChanged += OnPreferencesWindowWindowOpenedChanged; _luxaforClient.LuxaforFailed += OnLuxaforFailed; }