Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/HydraulicBoundaryDatabaseImporterTest.cs =================================================================== diff -u -rf8c28b3b04cdabb62ea37772efcb1f4ebbbf2b9e -r3147d2f42ddbf18f08e0015f71aeeec2de60dd89 --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision f8c28b3b04cdabb62ea37772efcb1f4ebbbf2b9e) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/FileImporters/HydraulicBoundaryDatabaseImporterTest.cs (.../HydraulicBoundaryDatabaseImporterTest.cs) (revision 3147d2f42ddbf18f08e0015f71aeeec2de60dd89) @@ -329,7 +329,7 @@ } [Test] - public void Import_ImportingToValidTargetWithValidFileUsePreprocessorTrue_ImportHydraulicBoundaryLocationsToCollectionAndAssessmentSectionNotified() + public void Import_ImportingToValidTargetWithValidFileCanUsePreprocessorTrue_ImportHydraulicBoundaryLocationsToCollectionAndAssessmentSectionNotified() { // Setup var mocks = new MockRepository(); @@ -355,6 +355,7 @@ }); Assert.IsTrue(importResult); Assert.IsTrue(assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor); + Assert.IsTrue(assessmentSection.HydraulicBoundaryDatabase.UsePreprocessor); Assert.AreEqual(directory, assessmentSection.HydraulicBoundaryDatabase.PreprocessorDirectory); ICollection importedLocations = assessmentSection.HydraulicBoundaryDatabase.Locations; Assert.AreEqual(106, importedLocations.Count); @@ -364,7 +365,7 @@ } [Test] - public void Import_ImportingToValidTargetWithValidFileUsePreprocessorFalse_ImportHydraulicBoundaryLocationsToCollectionAndAssessmentSectionNotified() + public void Import_ImportingToValidTargetWithValidFileCanUsePreprocessorFalse_ImportHydraulicBoundaryLocationsToCollectionAndAssessmentSectionNotified() { // Setup var mocks = new MockRepository(); @@ -389,7 +390,6 @@ }); Assert.IsTrue(importResult); Assert.IsFalse(assessmentSection.HydraulicBoundaryDatabase.CanUsePreprocessor); - Assert.IsNull(assessmentSection.HydraulicBoundaryDatabase.PreprocessorDirectory); ICollection importedLocations = assessmentSection.HydraulicBoundaryDatabase.Locations; Assert.AreEqual(9, importedLocations.Count); CollectionAssert.AllItemsAreNotNull(importedLocations);