Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs =================================================================== diff -u -r409352706e7ed14c76bb43304d262fa22d148160 -rcb09e13d840d455d9dec78e6aa83f96ed821f366 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs (.../HeightStructuresCalculationActivityIntegrationTest.cs) (revision 409352706e7ed14c76bb43304d262fa22d148160) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs (.../HeightStructuresCalculationActivityIntegrationTest.cs) (revision cb09e13d840d455d9dec78e6aa83f96ed821f366) @@ -20,6 +20,7 @@ // All rights reserved. using System; +using System.Collections.Generic; using System.IO; using System.Linq; using Core.Common.Base; @@ -336,16 +337,16 @@ .Return(new TestStructuresCalculator()); mockRepository.ReplayAll(); + var hydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(); + hydraulicBoundaryDatabase.SetParameters(new List + { + new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) + }, + validFilePath, "", true, validPreprocessorDirectory); + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, validPreprocessorDirectory) - { - FilePath = validFilePath, - Locations = - { - new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) - } - } + HydraulicBoundaryDatabase = hydraulicBoundaryDatabase }; var failureMechanism = new HeightStructuresFailureMechanism(); @@ -378,16 +379,16 @@ .Return(new TestStructuresCalculator()); mockRepository.ReplayAll(); + var hydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(); + hydraulicBoundaryDatabase.SetParameters(new List + { + new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) + }, + validFilePath, "", false, "InvalidPreprocessorDirectory"); + var assessmentSection = new AssessmentSection(AssessmentSectionComposition.Dike) { - HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "InvalidPreprocessorDirectory") - { - FilePath = validFilePath, - Locations = - { - new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) - } - } + HydraulicBoundaryDatabase = hydraulicBoundaryDatabase }; var failureMechanism = new HeightStructuresFailureMechanism();