public void GivenThatMySettingsAreSetToFlashTaskbarOnAnyMessage() { var settings = new MetroFireSettings() { General = new GeneralSettings(), Network = new NetworkSettings(), Notification = new NotificationSettings() { Notifications = new[] { new NotificationEntry { Actions = new NotificationAction[] { new FlashTaskBarNotificationAction(), }, Triggers = new[] { new NotificationTrigger { TriggerType = TriggerType.UserMessage }, } } } } }; _context.ChangeSettings(settings); }
public void ChangeSettings(MetroFireSettings settings) { _loader.Settings = settings; SendMessage(new SettingsChangedMessage()); }