public DayZServerMonitorForm()
        {
            InitializeComponent();
            logger  = new Logger(clock, StatusWriter);
            monitor = new Monitor(clock, clientFactory, logger);

            SelectionCombo.Items.Add(new ServerSelectionItem(new LatestServerSource("Stable", ProfileParser.GetDayZFolder(), ProfileParser.GetProfileFilename(), logger)));
            SelectionCombo.Items.Add(new ServerSelectionItem(new LatestServerSource("Experimental", ProfileParser.GetExperimentalDayZFolder(), ProfileParser.GetProfileFilename(), logger)));
            SelectionCombo.DisplayMember         = "DisplayName";
            SelectionCombo.ValueMember           = "Value";
            SelectionCombo.SelectedIndex         = 0;
            SelectionCombo.SelectedValueChanged += new EventHandler(ServerSelectionChanged);
        }
 public void GetProfileFilenameReturnsDayZProfileFilename()
 {
     Assert.AreEqual(
         Environment.UserName + "_settings.DayZProfile",
         ProfileParser.GetProfileFilename());
 }