Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationRowTest.cs =================================================================== diff -u -ra2ec0ef5dc52d01dc15b281ab5c9c46542e83006 -r298af52e9de68d5beed50a88ec11be5bce1fc783 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationRowTest.cs (.../HydraulicBoundaryLocationRowTest.cs) (revision a2ec0ef5dc52d01dc15b281ab5c9c46542e83006) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Views/HydraulicBoundaryLocationRowTest.cs (.../HydraulicBoundaryLocationRowTest.cs) (revision 298af52e9de68d5beed50a88ec11be5bce1fc783) @@ -38,7 +38,7 @@ var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); // Call - TestDelegate call = () => new TestHydraulicBoundaryLocationRow(hydraulicBoundaryLocation, null); + TestDelegate call = () => new HydraulicBoundaryLocationRow(hydraulicBoundaryLocation, null); // Assert string paramName = Assert.Throws(call).ParamName; @@ -57,8 +57,8 @@ var calculation = new HydraulicBoundaryLocationCalculation(); // Call - var row = new TestHydraulicBoundaryLocationRow(hydraulicBoundaryLocation, - calculation); + var row = new HydraulicBoundaryLocationRow(hydraulicBoundaryLocation, + calculation); // Assert Assert.IsInstanceOf>(row); @@ -79,8 +79,8 @@ // Setup var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); var calculation = new HydraulicBoundaryLocationCalculation(); - var row = new TestHydraulicBoundaryLocationRow(hydraulicBoundaryLocation, - calculation); + var row = new HydraulicBoundaryLocationRow(hydraulicBoundaryLocation, + calculation); // Call row.IncludeIllustrationPoints = setIllustrationPoints; @@ -96,8 +96,8 @@ // Setup var hydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(); var calculation = new HydraulicBoundaryLocationCalculation(); - var row = new TestHydraulicBoundaryLocationRow(hydraulicBoundaryLocation, - calculation); + var row = new HydraulicBoundaryLocationRow(hydraulicBoundaryLocation, + calculation); var random = new Random(432); var locationOutput = new TestHydraulicBoundaryLocationOutput(random.NextDouble()); @@ -108,12 +108,5 @@ // Assert Assert.AreEqual(locationOutput.Result, row.Result); } - - private class TestHydraulicBoundaryLocationRow : HydraulicBoundaryLocationRow - { - public TestHydraulicBoundaryLocationRow(HydraulicBoundaryLocation hydraulicBoundaryLocation, - HydraulicBoundaryLocationCalculation hydraulicBoundaryLocationCalculation) - : base(hydraulicBoundaryLocation, hydraulicBoundaryLocationCalculation) {} - } } } \ No newline at end of file