public void DeleteFilter_Test() { var testProject = new TestProject(); projectTreeModel.TestProject = testProject; var progressMonitor = MockProgressMonitor.Instance; Assert.Count(0, projectController.TestFilters.Value); FilterInfo filterInfo = new FilterInfo("filterName", new NoneFilter <ITestDescriptor>().ToFilterExpr()); projectController.TestFilters.Value.Add(filterInfo); Assert.Count(1, projectController.TestFilters.Value); projectController.DeleteFilter(progressMonitor, filterInfo); Assert.Count(0, projectController.TestFilters.Value); }