private void GoToPreviousDataSource()
 {
     if (SelectedMainPanel == _logViewPanel)
     {
         _logViewPanel.GoToPreviousDataSource();
     }
 }
        public void TestGoToPreviousDataSource1()
        {
            var model = new LogViewMainPanelViewModel(_services, _actionCenter.Object, _dataSources.Object, _quickFilters.Object, _highlighters.Object, _settings.Object);

            model.CurrentDataSource.Should().BeNull();
            new Action(() => model.GoToPreviousDataSource()).Should().NotThrow();
            model.CurrentDataSource.Should().BeNull();
        }
 private void GoToPreviousDataSource()
 {
     _logViewPanel.GoToPreviousDataSource();
 }