Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs =================================================================== diff -u -rcb09e13d840d455d9dec78e6aa83f96ed821f366 -r0ce2329213d6984c6992ec20319265546692a0b4 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs (.../HeightStructuresCalculationActivityIntegrationTest.cs) (revision cb09e13d840d455d9dec78e6aa83f96ed821f366) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresCalculationActivityIntegrationTest.cs (.../HeightStructuresCalculationActivityIntegrationTest.cs) (revision 0ce2329213d6984c6992ec20319265546692a0b4) @@ -20,7 +20,6 @@ // All rights reserved. using System; -using System.Collections.Generic; using System.IO; using System.Linq; using Core.Common.Base; @@ -337,16 +336,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 = hydraulicBoundaryDatabase + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(true, validPreprocessorDirectory) + { + FilePath = validFilePath, + Locations = + { + new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) + } + } }; var failureMechanism = new HeightStructuresFailureMechanism(); @@ -379,16 +378,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 = hydraulicBoundaryDatabase + HydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(false, "InvalidPreprocessorDirectory") + { + FilePath = validFilePath, + Locations = + { + new HydraulicBoundaryLocation(1300001, string.Empty, 0, 0) + } + } }; var failureMechanism = new HeightStructuresFailureMechanism();