Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/DesignWaterLevelLocationContextTest.cs =================================================================== diff -u -rfaea7b000850729e2b0c6c2a06fe3a7e94541abd -r7594f72cabeb4802ffab5715e2edb2712fc1f0df --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/DesignWaterLevelLocationContextTest.cs (.../DesignWaterLevelLocationContextTest.cs) (revision faea7b000850729e2b0c6c2a06fe3a7e94541abd) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PresentationObjects/DesignWaterLevelLocationContextTest.cs (.../DesignWaterLevelLocationContextTest.cs) (revision 7594f72cabeb4802ffab5715e2edb2712fc1f0df) @@ -36,7 +36,7 @@ var hydraulicBoundaryDatabase = new HydraulicBoundaryDatabase(); // Call - TestDelegate test = () => new DesignWaterLevelLocationContext(hydraulicBoundaryDatabase, null); + TestDelegate test = () => new DesignWaterLevelLocationContext(null, hydraulicBoundaryDatabase); // Assert string paramName = Assert.Throws(test).ParamName; @@ -50,7 +50,7 @@ var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1, "name", 2.0, 3.0); // Call - TestDelegate test = () => new DesignWaterLevelLocationContext(null, hydraulicBoundaryLocation); + TestDelegate test = () => new DesignWaterLevelLocationContext(hydraulicBoundaryLocation, null); // Assert string paramName = Assert.Throws(test).ParamName; @@ -66,7 +66,7 @@ hydraulicBoundaryDatabase.Locations.Add(hydraulicBoundaryLocation); // Call - var presentationObject = new DesignWaterLevelLocationContext(hydraulicBoundaryDatabase, hydraulicBoundaryLocation); + var presentationObject = new DesignWaterLevelLocationContext(hydraulicBoundaryLocation, hydraulicBoundaryDatabase); // Assert Assert.IsInstanceOf(presentationObject);