Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/DesignWaterLevelLocationContextTest.cs =================================================================== diff -u -re649822ccb64af259adda08b8aa096bf08bf1a87 -rb17eb09f96cdd37af57cb0c615d36366298abc07 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/DesignWaterLevelLocationContextTest.cs (.../DesignWaterLevelLocationContextTest.cs) (revision e649822ccb64af259adda08b8aa096bf08bf1a87) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/DesignWaterLevelLocationContextTest.cs (.../DesignWaterLevelLocationContextTest.cs) (revision b17eb09f96cdd37af57cb0c615d36366298abc07) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using NUnit.Framework; using Ringtoets.Common.Data.Hydraulics; using Ringtoets.Integration.Forms.PresentationObjects; @@ -34,15 +33,15 @@ { // Setup var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1, "name", 2.0, 3.0); - Func getCalculationFunc = hbl => null; + var calculation = new HydraulicBoundaryLocationCalculation(); // Call - var presentationObject = new DesignWaterLevelLocationContext(hydraulicBoundaryLocation, getCalculationFunc); + var presentationObject = new DesignWaterLevelLocationContext(hydraulicBoundaryLocation, calculation); // Assert Assert.IsInstanceOf(presentationObject); Assert.AreSame(hydraulicBoundaryLocation, presentationObject.WrappedData); - Assert.AreSame(getCalculationFunc, presentationObject.GetCalculationFunc); + Assert.AreSame(calculation, presentationObject.Calculation); } } } \ No newline at end of file