Example #1
0
 public void TestCreateNew()
 {
     _sidePanel.HasActiveAnalyses.Should().BeFalse();
     _sidePanel.Active.Should().BeEmpty();
     _sidePanel.CreateNew();
     _sidePanel.HasActiveAnalyses.Should().BeTrue();
     _sidePanel.Active.Should().HaveCount(1);
 }
Example #2
0
        private void CreateAnalysis()
        {
            var viewModel = _analysesSidePanel.CreateNew();

            viewModel.OnRemove += AnalysisViewModelOnOnRemove;
            Analysis            = viewModel;
        }